1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 07:08:09 +01:00

Possible bugfix for admin_smilies.php.

git-svn-id: file:///svn/phpbb/trunk@1343 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
dougk_ff7 2001-11-17 00:30:22 +00:00
parent d7c8086999
commit 0ac13a4907

View File

@ -65,7 +65,7 @@ while($file = @readdir($dir))
{
if( !@is_dir($phpbb_root_path . $board_config['smilies_path'] . '/' . $file) )
{
if( !is_null(@getimagesize($phpbb_root_path . $board_config['smilies_path'] . '/' . $file)) )
if( !empty(@getimagesize($phpbb_root_path . $board_config['smilies_path'] . '/' . $file)) )
{
$smiley_images[] = $file;
}