mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Few fixes
This commit is contained in:
parent
1112e54772
commit
a9c6577f0c
3 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue