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