mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Remove uninitialised variable warning.
This commit is contained in:
1 parent
28bb70e6fd
commit
3ae03f33d9
1 file changed
+1
-1
+1
-1
@@ -38,7 +38,7 @@ class Tools {
|
||||
function render(){
|
||||
global $c;
|
||||
echo $this->renderImportFromDirectory();
|
||||
if ( $c->authenticate_hook['call'] == 'LDAP_check' && function_exists("sync_LDAP") ) {
|
||||
if ( isset($c->authenticate_hook['call']) && $c->authenticate_hook['call'] == 'LDAP_check' && function_exists("sync_LDAP") ) {
|
||||
echo $this->renderSyncLDAP();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user