Code

Updated users
[gosa.git] / gosa-core / include / functions.inc
index 3697a719907df97a96dfff4762f8193a3d9a1432..9b735693646d6ac239757b0fac8b3cbb4f2867e2 100644 (file)
@@ -1361,15 +1361,8 @@ function show_errors($message)
 
   /* Assemble the message array to a plain string */
   foreach ($message as $error){
-    if ($complete == ""){
-      $complete= $error;
-    } else {
-      $complete= "$error<br>$complete";
-    }
+    msg_dialog::display(_("Error"), $error, ERROR_DIALOG);
   }
-
-  /* Fill ERROR variable with nice error dialog */
-  msg_dialog::display(_("Error"), $complete, ERROR_DIALOG);
 }