Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
set default value to variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sc979 authored Oct 29, 2019
1 parent 1742c38 commit 277c086
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cron/centAcl.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
*
* @TODO : Synchronize LDAP with contacts data in background to avoid it at login
*/
$ldap_enable = $ldap_last_update = 0;
$queryOptions = "SELECT `key`, `value` FROM `options` WHERE `key` IN ('ldap_auth_enable', 'ldap_last_acl_update')";
$res = $pearDB->query($queryOptions);
while ($row = $res->fetch()) {
Expand Down

0 comments on commit 277c086

Please sign in to comment.