forked from extern/egroupware
another fix for log object does not exist in setup
This commit is contained in:
parent
886f62667e
commit
bd2a20dcd8
@ -255,9 +255,12 @@
|
||||
|
||||
// bind as admin, we not to able to do everything
|
||||
if (! ldap_bind($ds,$dn,$passwd))
|
||||
{
|
||||
if(is_object($GLOBALS['phpgw']->log))
|
||||
{
|
||||
$GLOBALS['phpgw']->log->message('F-Abort, Failed binding to LDAP server');
|
||||
$GLOBALS['phpgw']->log->commit();
|
||||
}
|
||||
|
||||
printf("<b>Error: Can't bind to LDAP server: %s!</b><br>",$dn);
|
||||
return False;
|
||||
|
Loading…
Reference in New Issue
Block a user