fixed a warning when admin plugin is installed but not setup.
authorjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Feb 2002 20:23:54 +0000 (20:23 +0000)
committerjmunro <jmunro@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 28 Feb 2002 20:23:54 +0000 (20:23 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2523 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/administrator/auth.php

index ce90d21..2271582 100644 (file)
@@ -24,6 +24,9 @@ function adm_check_user() {
         $adm = posix_getpwuid( $adm_id );
         $auth = ( $username == $adm['name'] );
     }
+    else {
+        $auth = FALSE;
+    }
 
     return( $auth );