aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/style.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2008-01-03 14:04:12 +0000
committerHenry Sudhof <kellanved@phpbb.com>2008-01-03 14:04:12 +0000
commit8b423ba3084fbe29ce83aef2a5f6ac5380ee006e (patch)
tree7ec23ad2d9b040ee9bb570f26d11cd5a6e427cb1 /phpBB/style.php
parent73e18dcd5afd641b876dd6c4adae405f364cea0f (diff)
downloadforums-8b423ba3084fbe29ce83aef2a5f6ac5380ee006e.tar
forums-8b423ba3084fbe29ce83aef2a5f6ac5380ee006e.tar.gz
forums-8b423ba3084fbe29ce83aef2a5f6ac5380ee006e.tar.bz2
forums-8b423ba3084fbe29ce83aef2a5f6ac5380ee006e.tar.xz
forums-8b423ba3084fbe29ce83aef2a5f6ac5380ee006e.zip
#16865
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8293 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);