From: hickert Date: Tue, 8 Jul 2008 10:05:39 +0000 (+0000) Subject: Updated openGroupWareAccount X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5d6c815913236c92d0399e162c7cede81a6afba9;p=gosa.git 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 --- 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{