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

Changed it back to is_null, using empty just created a much larger problem (parse error!)

git-svn-id: file:///svn/phpbb/trunk@1344 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson 2001-11-17 05:39:22 +00:00
parent 0ac13a4907
commit 0ad8ac9f5e

View File

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