From 283b8bec33d8f1f3e19dec84a405117dcfb65851 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 6 Oct 2015 13:10:06 +0000 Subject: [PATCH] cant use @-syntax with passwords, as they can start with an @ --- phpgwapi/inc/class.egw_db.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_db.inc.php b/phpgwapi/inc/class.egw_db.inc.php index 977b71669b..c7a842bdf6 100644 --- a/phpgwapi/inc/class.egw_db.inc.php +++ b/phpgwapi/inc/class.egw_db.inc.php @@ -347,7 +347,7 @@ class egw_db { $this->Type = $GLOBALS['egw_info']['server']['db_type']; } - foreach(array('Database', 'Host', 'Port', 'User', 'Password', 'Type') as $var) + foreach(array('Database', 'Host', 'Port', 'User', 'Type') as $var) { $val = (string)$this->$var; if ($val[0] === '@') $this->$var = getenv(substr($val, 1));