From a8acfc312409bc93fde90970a02e43ff1543c681 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 26 Nov 2007 11:52:33 +0000 Subject: [PATCH] Removed default message from error dialog git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7886 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.30.2