CS
This commit is contained in:
parent
a9c6577f0c
commit
d9da186fb8
@ -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…
x
Reference in New Issue
Block a user