From a82293f6e23bea16fe3f01fafba1ba13a800c389 Mon Sep 17 00:00:00 2001 From: jmunro Date: Thu, 28 Feb 2002 20:23:54 +0000 Subject: [PATCH] fixed a warning when admin plugin is installed but not setup. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2523 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/administrator/auth.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/administrator/auth.php b/plugins/administrator/auth.php index ce90d21e..2271582c 100644 --- a/plugins/administrator/auth.php +++ b/plugins/administrator/auth.php @@ -24,6 +24,9 @@ function adm_check_user() { $adm = posix_getpwuid( $adm_id ); $auth = ( $username == $adm['name'] ); } + else { + $auth = FALSE; + } return( $auth ); -- 2.25.1