From 1d57dd194145840446f9c9d1db61bd92d96f422c Mon Sep 17 00:00:00 2001 From: Gerald Simane Date: Thu, 27 Aug 2009 06:59:12 +0000 Subject: [PATCH] --- include/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.inc.php b/include/functions.inc.php index 570736bec..cbe18b745 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -24,7 +24,7 @@ require_once(dirname(__FILE__).'/basis_db.class.php'); // Auth: Benutzer des Webportals function get_uid() { - return mb_strtolower(trim($_SERVER['REMOTE_USER'])); + return (isset($_SERVER['REMOTE_USER'])?mb_strtolower(trim($_SERVER['REMOTE_USER'])):''); // fuer Testzwecke //return 'oesi'; //return 'pam';