This commit is contained in:
Jeremy Benoist 2017-06-10 16:08:24 +02:00
parent a9c6577f0c
commit d9da186fb8
No known key found for this signature in database
GPG Key ID: BCA73962457ACC3C
1 changed files with 1 additions and 1 deletions

View File

@ -682,7 +682,7 @@ class EntryRestController extends WallabagRestController
if (!is_null($isPublic)) {
if (true === (bool) $isPublic && null === $entry->getUid()) {
$entry->generateUid();
} else if (false === (bool) $isPublic) {
} elseif (false === (bool) $isPublic) {
$entry->cleanUid();
}
}