summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/lib/Migration/Version1130Date20211102154716.php')
-rw-r--r--apps/user_ldap/lib/Migration/Version1130Date20211102154716.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php b/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php
index 2cca72ac493..c92c4c794ae 100644
--- a/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php
+++ b/apps/user_ldap/lib/Migration/Version1130Date20211102154716.php
@@ -278,7 +278,7 @@ class Version1130Date20211102154716 extends SimpleMigrationStep {
->having($select->expr()->gt($select->func()->count('owncloud_name'), $select->createNamedParameter(1)));
$result = $select->executeQuery();
- while ($uuid = $result->fetchOne()) {
+ while (($uuid = $result->fetchOne()) !== false) {
yield $uuid;
}
$result->closeCursor();