mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 09:31:04 +00:00
CS
This commit is contained in:
parent
a9c6577f0c
commit
d9da186fb8
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue