diff --git a/phpgwapi/inc/class.db_pgsql.inc.php b/phpgwapi/inc/class.db_pgsql.inc.php index 2160e0adc7..c914d92a79 100644 --- a/phpgwapi/inc/class.db_pgsql.inc.php +++ b/phpgwapi/inc/class.db_pgsql.inc.php @@ -63,7 +63,7 @@ . $this->ifadd($this->Host, 'host=') . $this->ifadd($this->Port, 'port=') . $this->ifadd($this->User, 'user=') - . $this->ifadd($this->Password, 'password='); + . $this->ifadd("'".$this->Password."'", 'password='); if ($this->use_pconnect) { $this->Link_ID=pg_pconnect($cstr);