X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Ffunctions.inc;h=9b735693646d6ac239757b0fac8b3cbb4f2867e2;hb=c0df023ae4d8283d15aa7db1b51c54f2f746eb8a;hp=3697a719907df97a96dfff4762f8193a3d9a1432;hpb=b02001b2c425efa310779cac4f2b1a779ffc8014;p=gosa.git diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 3697a7199..9b7356936 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -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
$complete"; - } + msg_dialog::display(_("Error"), $error, ERROR_DIALOG); } - - /* Fill ERROR variable with nice error dialog */ - msg_dialog::display(_("Error"), $complete, ERROR_DIALOG); }