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:
parent
d7c8086999
commit
0ac13a4907
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user