*** empty log message ***

This commit is contained in:
duergner 2003-10-18 11:28:57 +00:00
parent 47e750db6e
commit 5e2127f65b
3 changed files with 1 additions and 4 deletions

View File

@ -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);

View File

@ -52,10 +52,8 @@ function StatusMessage($MessageTyp,$MessageHeadline,$MessageText,$MessageVariabl
$format = "<div " . $class . "><br><table><tr><td>" . $MessageTyp . "</td><td>" . $MessageHeadline . $MessageText . "</td></tr></table><br></div>";
for($i=0;$i<count($MessageVariables);$i++) {
$variables .= "," . $MessageVariables[$i];
echo "variable[" . $i . "]=" . $variables[$i] . "<br>";
}
$command = 'printf("' . addslashes($format) . '"' . $variables . ');';
echo "command=" . $command . "<br>";
eval($command);
}

View File

@ -74,7 +74,6 @@ function displayHelp($helpNumber)
{
$variables = array();
array_push($variables,$helpNumber);
echo "variables[0]=" . $variables[0] . "<br>";
$errorMessage = _("Sorry this help number ({bold}%d{endbold}) is not available.");
echoHTMLHead();
statusMessage("ERROR","",$errorMessage,$variables);