mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
PHP 5.4 compatibility
This commit is contained in:
parent
847b1e3af0
commit
22de25c382
1 changed files with 2 additions and 1 deletions
|
|
@ -178,7 +178,8 @@ class AddressBookImpl implements IAddressBook {
|
|||
protected function createUid() {
|
||||
do {
|
||||
$uid = $this->getUid();
|
||||
} while (!empty($this->backend->getContact($uid . '.vcf')));
|
||||
$contact = $this->backend->getContact($uid . '.vcf');
|
||||
} while (!empty($contact));
|
||||
|
||||
return $uid;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue