Typo
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 27 Jan 2002 17:17:25 +0000 (17:17 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 27 Jan 2002 17:17:25 +0000 (17:17 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2249 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/administrator/setup.php

index c665523..b6149b1 100644 (file)
@@ -16,7 +16,7 @@ function squirrelmail_plugin_init_administrator() {
 
     if ( $adm_id = fileowner('../config/config.php') ) {
         $adm = posix_getpwuid( $adm_id );
-        if ( $username = $adm['name'] ) {
+        if ( $username == $adm['name'] ) {
             $squirrelmail_plugin_hooks['optpage_register_block']['administrator'] =
                                       'squirrelmail_plugin_optpage_register_block';
         }