From: cajus Date: Wed, 16 Jan 2008 11:13:30 +0000 (+0000) Subject: Changed display of LDAP error messages X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6ad55d3cc2ce752424923dc2f2c91a3b9073d587;p=gosa.git Changed display of LDAP error messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8385 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 8f45c429b..3ab7a4053 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -1274,7 +1274,7 @@ function show_ldap_error($message, $addon= "") msg_dialog::display(_("LDAP error:"), $message, ERROR_DIALOG); } else { if(!preg_match("/No such object/i",$message)){ - msg_dialog::display(sprintf(_("LDAP error in plugin '%s':"),"".$addon.""),$message,ERROR_DIALOG); + msg_dialog::display(_("LDAP error"), sprintf(_("Plugin '%s':%s"),"".$addon."", "

$message"),ERROR_DIALOG); } } return TRUE;