aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-01-03 14:37:34 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-01-03 14:37:34 +0000
commit0f26ffbadea13d97b841dfe56b21da7a5479000a (patch)
tree8377afd89baf1c73f866e99239a0e088adb2e8a5 /phpBB/style.php
parentfe56349e3496a62b6ff901d949a9517c252df160 (diff)
downloadforums-0f26ffbadea13d97b841dfe56b21da7a5479000a.tar
forums-0f26ffbadea13d97b841dfe56b21da7a5479000a.tar.gz
forums-0f26ffbadea13d97b841dfe56b21da7a5479000a.tar.bz2
forums-0f26ffbadea13d97b841dfe56b21da7a5479000a.tar.xz
forums-0f26ffbadea13d97b841dfe56b21da7a5479000a.zip
cross-ci to the head
git-svn-id: file:///svn/phpbb/trunk@8294 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/style.php')
-rw-r--r--phpBB/style.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/style.php b/phpBB/style.php
index f177d30c03..75c440bb63 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -116,6 +116,7 @@ if ($id)
$sql = 'SELECT *
FROM ' . STYLES_IMAGESET_DATA_TABLE . '
WHERE imageset_id = ' . $theme['imageset_id'] . "
+ AND image_filename <> ''
AND image_lang IN ('" . $db->sql_escape($user_image_lang) . "', '')";
$result = $db->sql_query($sql, 3600);