From 76d735ac4260c6fce771675bc13bfbdbac3eb309 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 9 Oct 2008 07:04:21 +0000 Subject: [PATCH] Fixed password problem git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12638 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/connectivity/opengroupware/class_pgsql_opengw.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2