Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix 5.3 language error
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Nov 27, 2014
1 parent 1ea33ed commit 5835ac0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/plugins/auth.ldap/class.ldapAuthDriver.php
Expand Up @@ -317,8 +317,9 @@ public function getUserEntries($login = null, $countOnly = false, $offset = -1,
//Update progress bar in CLI mode
$isListAll = (($offset == -1) && ($limit == -1) && (is_null($login)) && $regexpOnSearchAttr && (php_sapi_name() == "cli"));
if($isListAll){
$total = $this->getCountFromCache();
$progressBar = new AJXP_ProgressBarCLI();
$progressBar->init($index, $this->getCountFromCache()["count"], "Get ldap users");
$progressBar->init($index, $total["count"], "Get ldap users");
}

do {
Expand Down

0 comments on commit 5835ac0

Please sign in to comment.