Index: branches/5.2.x/units/emoticons/emoticon_eh.php =================================================================== diff -u -N -r14252 -r15060 --- branches/5.2.x/units/emoticons/emoticon_eh.php (.../emoticon_eh.php) (revision 14252) +++ branches/5.2.x/units/emoticons/emoticon_eh.php (.../emoticon_eh.php) (revision 15060) @@ -1,6 +1,6 @@ getObject(); $emoticon_file = $object->GetField('EmotionImage', 'full_path'); - if ($emoticon_file) { + if ( $emoticon_file ) { @unlink($emoticon_file); } }