mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(FileAccess): Try to fix type error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
parent
0a1754beaf
commit
38f2bf6f98
1 changed files with 2 additions and 1 deletions
|
|
@ -152,8 +152,9 @@ class FileAccess implements IFileAccess {
|
|||
$rows = [];
|
||||
$i = 0;
|
||||
do {
|
||||
while (($rows[] = $files->fetch()) && $i < 1000) {
|
||||
while ($i < 1000 && ($row = $files->fetch())) {
|
||||
$i++;
|
||||
$rows[] = $row;
|
||||
}
|
||||
$parents = array_map(function ($row) {
|
||||
return $row['parent'];
|
||||
|
|
|
|||
Loading…
Reference in a new issue