From: Christian Weiske Date: Mon, 30 Sep 2013 20:16:07 +0000 (+0200) Subject: nicer error display X-Git-Tag: 0.8.0~6^2~6 X-Git-Url: https://git.sur5r.net/?p=contagged;a=commitdiff_plain;h=d6146cd913072d2e2a9d78b916751df84c297821 nicer error display --- 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__ .= '
'; }