From 746855cf48e51565e70ed332fac9025865c52d8d Mon Sep 17 00:00:00 2001 From: Ben Coburn Date: Mon, 10 Jul 2006 11:18:20 +0200 Subject: cleanup undefined constant notices Undefined constants replaced with strings, see http://www.php.net/manual/en/language.types.array.php#language.types.array.foo-bar darcs-hash:20060710091820-05dcb-cfccff2bdd633b929470c60d8eee096f50ab4c18.gz --- inc/toolbar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/toolbar.php') diff --git a/inc/toolbar.php b/inc/toolbar.php index 072b6f420..3cd58e5c6 100644 --- a/inc/toolbar.php +++ b/inc/toolbar.php @@ -186,8 +186,8 @@ function toolbar_signature(){ $sig = $conf['signature']; $sig = strftime($sig); $sig = str_replace('@USER@',$_SERVER['REMOTE_USER'],$sig); - $sig = str_replace('@NAME@',$_SESSION[$conf[title]]['auth']['info']['name'],$sig); - $sig = str_replace('@MAIL@',$_SESSION[$conf[title]]['auth']['info']['mail'],$sig); + $sig = str_replace('@NAME@',$_SESSION[$conf['title']]['auth']['info']['name'],$sig); + $sig = str_replace('@MAIL@',$_SESSION[$conf['title']]['auth']['info']['mail'],$sig); $sig = str_replace('@DATE@',date($conf['dformat']),$sig); $sig = str_replace('\\\\n','\\n',addslashes($sig)); return $sig; -- cgit v1.2.3