From 5d6c815913236c92d0399e162c7cede81a6afba9 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 8 Jul 2008 10:05:39 +0000 Subject: [PATCH] Updated openGroupWareAccount -Database connection wasn't established correctly. Negation was missin in check. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11552 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/connectivity/opengroupware/class_opengwAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc b/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc index 309a1fb01..cbb0617c7 100644 --- a/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc +++ b/gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc @@ -168,7 +168,7 @@ class opengwAccount extends plugin }elseif(count($this->serverCon)){ /* Check if config exists */ - if($this->config->search("opengwAccount", 'DATABASE',array('tabs'))){ + if($this->config->search("opengwAccount", 'DATABASE',array('tabs')) == ""){ msg_dialog::display(_("Configuration error"), msgPool::noserver(_("Open Groupware database")), ERROR_DIALOG); }else{ -- 2.30.2