mirror of https://github.com/wallabag/wallabag.git
This commit is contained in:
parent
a9c6577f0c
commit
d9da186fb8
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue