# HG changeset patch # User Dan # Date 1250883520 14400 # Node ID 5f623b0de18e5a7deeed819c3c5f250373ca0eff # Parent 121cf3bbd16e0a43e8672b49981f722c9a327ba0 Avatars: fixed animated avatars rejected even when allowed in ACP diff -r 121cf3bbd16e -r 5f623b0de18e plugins/SpecialUserPrefs.php --- 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 '
' . $lang->get('usercp_avatar_disallowed_animation') . '
';