Skip to content

Commit

Permalink
fix: LDAP class issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukanoksuz committed Sep 14, 2023
1 parent 3c482da commit cc7d365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Classes/Ldap.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function search(string $filter, LDAPSearchOptions $options = new LDAPSear

// Update cookie and total size
$cookie = $this->controlPagedResultResponse($this->connection, $search, $cookie);
$size += $entries['count'];
$size += $entries['count'] ?? 0;

unset($entries['count']);
} while ($cookie !== null && $cookie != '');
Expand Down

0 comments on commit cc7d365

Please sign in to comment.