summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 27750ab)
raw | patch | inline | side by side (parent: 27750ab)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Oct 2008 06:58:30 +0000 (06:58 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Oct 2008 06:58:30 +0000 (06:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@12637 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_pgsql_opengw.inc | patch | blob | history |
index d3432226f7de549aaac8fbc52b6b2e9a70a6cbfb..dd364b54cac48ae94a3000a34aca5cf075ef985f 100644 (file)
{
error_reporting(E_ALL);
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);