forked from wallabag/wallabag
CS
This commit is contained in:
@ -682,7 +682,7 @@ class EntryRestController extends WallabagRestController
|
|||||||
if (!is_null($isPublic)) {
|
if (!is_null($isPublic)) {
|
||||||
if (true === (bool) $isPublic && null === $entry->getUid()) {
|
if (true === (bool) $isPublic && null === $entry->getUid()) {
|
||||||
$entry->generateUid();
|
$entry->generateUid();
|
||||||
} else if (false === (bool) $isPublic) {
|
} elseif (false === (bool) $isPublic) {
|
||||||
$entry->cleanUid();
|
$entry->cleanUid();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user