plugins/admin/UserManager.php
changeset 966 2db0975aa31a
parent 937 b174cdb75bec
child 1081 745200a9cc2a
--- a/plugins/admin/UserManager.php	Mon May 11 19:51:36 2009 -0400
+++ b/plugins/admin/UserManager.php	Mon May 11 19:53:25 2009 -0400
@@ -199,7 +199,7 @@
             if ( $action == 'set_http' )
             {
               // Check if this action is enabled
-              if ( getConfig('avatar_upload_http') !== '1' )
+              if ( getConfig('avatar_upload_http', 1) !== 1 )
               {
                 // non-localized, only appears on hack attempt
                 $errors[] = 'Uploads over HTTP are disabled.';
@@ -239,7 +239,7 @@
             else
             {
               // Check if this action is enabled
-              if ( getConfig('avatar_upload_file') !== '1' )
+              if ( getConfig('avatar_upload_file', 1) !== 1 )
               {
                 // non-localized, only appears on hack attempt
                 $errors[] = 'Uploads from the browser are disabled.';