# HG changeset patch # User Dan # Date 1235587189 18000 # Node ID f8199a8d61534502d7c404703a2f53a7d2d77bc1 # Parent 146bc1daf498973e282c5baa1112df86d821fe4d Blah. Wrong type for those getConfig values. diff -r 146bc1daf498 -r f8199a8d6153 plugins/SpecialUserPrefs.php --- a/plugins/SpecialUserPrefs.php Wed Feb 25 13:38:21 2009 -0500 +++ b/plugins/SpecialUserPrefs.php Wed Feb 25 13:39:49 2009 -0500 @@ -759,7 +759,7 @@ if ( $action == 'set_http' ) { // Check if this action is enabled - if ( getConfig('avatar_upload_http', '1') !== '1' ) + if ( getConfig('avatar_upload_http', 1) !== 1 ) { // non-localized, only appears on hack attempt echo '
Uploads over HTTP are disabled.
'; @@ -799,7 +799,7 @@ else { // Check if this action is enabled - if ( getConfig('avatar_upload_file', '1') !== '1' ) + if ( getConfig('avatar_upload_file', 1) !== 1 ) { // non-localized, only appears on hack attempt echo '
Uploads from the browser are disabled.
';