author | Dan |
Fri, 21 Aug 2009 15:38:40 -0400 | |
changeset 1095 | 5f623b0de18e |
parent 1094 | 121cf3bbd16e |
child 1096 | 86feb1c7ca3f |
--- 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>';