Code

Updated openGroupWareAccount
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Jul 2008 10:05:39 +0000 (10:05 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 8 Jul 2008 10:05:39 +0000 (10:05 +0000)
-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

gosa-plugins/opengroupware/personal/connectivity/opengroupware/class_opengwAccount.inc

index 309a1fb01d93b722c82beed724aa39b115abe13d..cbb0617c7ad63678639c6cbd8d024c5533289423 100644 (file)
@@ -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{