From: cajus Date: Thu, 9 Oct 2008 07:04:21 +0000 (+0000) Subject: Fixed password problem X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=76d735ac4260c6fce771675bc13bfbdbac3eb309;p=gosa.git Fixed password problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12638 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_pgsql_opengw.inc b/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_pgsql_opengw.inc index 3615bb4c6..313fe3e65 100644 --- a/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_pgsql_opengw.inc +++ b/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_pgsql_opengw.inc @@ -28,7 +28,7 @@ class pgre_sql{ { error_reporting(E_ALL | E_STRICT); if(is_callable("pg_connect")){ - if(!empty($this->pwd)){ + if(empty($this->pwd)){ $this->handle = @pg_connect("dbname=".$this->db." host=".$this->server." user=".$this->user); }else{ $this->handle = @pg_connect("dbname=".$this->db." host=".$this->server." user=".$this->user." password=".$this->pwd);