plugins/SpecialUserPrefs.php
changeset 1095 5f623b0de18e
parent 1086 6a59951b70e4
child 1169 d5474f54a525
--- a/plugins/SpecialUserPrefs.php	Fri Aug 21 15:38:11 2009 -0400
+++ b/plugins/SpecialUserPrefs.php	Fri Aug 21 15:38:40 2009 -0400
@@ -1066,7 +1066,7 @@
         break;
       }
       // Is the image animated?
-      if ( $is_animated && getConfig('avatar_enable_anim') !== '1' )
+      if ( $is_animated && getConfig('avatar_enable_anim', 0) !== 1 )
       {
         @unlink($tempfile);
         echo '<div class="error-box">' . $lang->get('usercp_avatar_disallowed_animation') . '</div>';