From d6146cd913072d2e2a9d78b916751df84c297821 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Mon, 30 Sep 2013 22:16:07 +0200 Subject: [PATCH] nicer error display --- inc/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/template.php b/inc/template.php index a861520..dc913bd 100644 --- a/inc/template.php +++ b/inc/template.php @@ -117,9 +117,9 @@ function tpl_ldaperror($message=""){ if($errno){ $__LDAPERROR__ .= ldap_err2str($errno); if(!empty($message)){ - $__LDAPERROR__ .= "($message)"; + $__LDAPERROR__ .= " ($message)"; }elseif($errno == 4){ - $__LDAPERROR__ .= "(You need to increase this limit in your server config)"; + $__LDAPERROR__ .= " (You need to increase this limit in your server config)"; } $__LDAPERROR__ .= '
'; } -- 2.39.5