Skip to content

Commit

Permalink
Fix 37969: Broken LDAP Pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalseeland authored and mjansenDatabay committed Sep 17, 2023
1 parent 209c385 commit 191c945
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Services/LDAP/classes/class.ilLDAPResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ilLDAPResult
*/
private $result;

private ?array $rows;
private array $rows = [];
private ?array $last_row;

/**
Expand Down Expand Up @@ -114,7 +114,6 @@ public function run(): self
private function addEntriesToRows(array $entries): void
{
$num = $entries['count'];
$this->rows = [];
if ($num === 0) {
return;
}
Expand Down

0 comments on commit 191c945

Please sign in to comment.