diff --git a/lib/backend/localusers.php b/lib/backend/localusers.php index 5a31aa92..5e20b158 100644 --- a/lib/backend/localusers.php +++ b/lib/backend/localusers.php @@ -386,6 +386,7 @@ class LocalUsers extends AbstractBackend { . \OC_DB::getErrorMessage($result), \OCP\Util::ERROR); return true; } else { + $contactsId = array(); while($row = $result->fetchRow()){ $contactsId[] = $row['id']; }