diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-03-11 17:47:31 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-03-11 17:47:31 +0000 |
commit | 43540f441d6ec6624812c2d2397552ae084b8001 (patch) | |
tree | c5dd51ad63f3231cec41a73f31cc24a8fa21b333 /phpBB/includes/session.php | |
parent | 0d4a76a8756b28a99e3ab95beb3bd9836047bd1b (diff) | |
download | forums-43540f441d6ec6624812c2d2397552ae084b8001.tar forums-43540f441d6ec6624812c2d2397552ae084b8001.tar.gz forums-43540f441d6ec6624812c2d2397552ae084b8001.tar.bz2 forums-43540f441d6ec6624812c2d2397552ae084b8001.tar.xz forums-43540f441d6ec6624812c2d2397552ae084b8001.zip |
for using the same cached file we need to have exact queries. :P
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9366 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r-- | phpBB/includes/session.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 5c9bcc4f88..6112decf09 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -1657,7 +1657,8 @@ class user extends session $this->img_lang = (file_exists($phpbb_root_path . 'styles/' . $this->theme['imageset_path'] . '/imageset/' . $this->lang_name)) ? $this->lang_name : $config['default_lang']; - $sql = 'SELECT image_name, image_filename, image_lang, image_height, image_width + // Same query in style.php + $sql = 'SELECT * FROM ' . STYLES_IMAGESET_DATA_TABLE . ' WHERE imageset_id = ' . $this->theme['imageset_id'] . " AND image_filename <> '' |