From 6ad55d3cc2ce752424923dc2f2c91a3b9073d587 Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 16 Jan 2008 11:13:30 +0000 Subject: [PATCH] Changed display of LDAP error messages git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8385 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2