From: hickert Date: Mon, 26 Nov 2007 11:52:33 +0000 (+0000) Subject: Removed default message from error dialog X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a8acfc312409bc93fde90970a02e43ff1543c681;p=gosa.git Removed default message from error dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7886 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 0a97dae90..f91515c26 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -1100,6 +1100,10 @@ function print_red() } $string= preg_replace('/
/', ' ', $string); $addmsg= _("Please check your input and fix the error. Press 'OK' to close this message box."); + $addmsg = ""; + } + if(empty($addmsg)){ + $addmsg = _("Error"); } msg_dialog::display($addmsg, $string,ERROR_DIALOG); return;