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 ce90d21e0b3249980a49385090e6f663aaf5843b..2271582c7aac3abbc613a4cce4c22788f8f83c14 100644 (file)
@@ -24,6 +24,9 @@ function adm_check_user() {
         $adm = posix_getpwuid( $adm_id );
         $auth = ( $username == $adm['name'] );
     }
+    else {
+        $auth = FALSE;
+    }
 
     return( $auth );