diff --git a/lam/lib/ldap.inc b/lam/lib/ldap.inc index fdfa5abe..e18f4d08 100644 --- a/lam/lib/ldap.inc +++ b/lam/lib/ldap.inc @@ -192,7 +192,7 @@ class Ldap{ } // save password und username encrypted $this->encrypt($user, $passwd); - $this->server = @ldap_connect($this->conf->get_ServerURL()); + $this->server = ldap_connect($this->conf->get_ServerURL()); if ($this->server) { // use LDAPv3 ldap_set_option($this->server, LDAP_OPT_PROTOCOL_VERSION, 3); diff --git a/lam/lib/status.inc b/lam/lib/status.inc index b6e0db9c..b7794635 100644 --- a/lam/lib/status.inc +++ b/lam/lib/status.inc @@ -52,10 +52,8 @@ function StatusMessage($MessageTyp,$MessageHeadline,$MessageText,$MessageVariabl $format = "

" . $MessageTyp . "" . $MessageHeadline . $MessageText . "

"; for($i=0;$i"; } $command = 'printf("' . addslashes($format) . '"' . $variables . ');'; - echo "command=" . $command . "
"; eval($command); } diff --git a/lam/templates/help.php b/lam/templates/help.php index c358f9af..a32bad21 100644 --- a/lam/templates/help.php +++ b/lam/templates/help.php @@ -74,7 +74,6 @@ function displayHelp($helpNumber) { $variables = array(); array_push($variables,$helpNumber); - echo "variables[0]=" . $variables[0] . "
"; $errorMessage = _("Sorry this help number ({bold}%d{endbold}) is not available."); echoHTMLHead(); statusMessage("ERROR","",$errorMessage,$variables);