summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: aba12da)
raw | patch | inline | side by side (parent: aba12da)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Oct 2008 07:04:21 +0000 (07:04 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Oct 2008 07:04:21 +0000 (07:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12638 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_pgsql_opengw.inc | patch | blob | history |
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 3615bb4c69236d2340296cb29a1a10e11e1c135e..313fe3e658f489e4a5e87543db3d30c86f13614d 100644 (file)
{
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);