mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-29 11:00:28 +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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -686,6 +686,7 @@ class Entry
|
|||
|
||||
/**
|
||||
* Used in the entries filter so it's more explicit for the end user than the uid.
|
||||
* Also used in the API.
|
||||
*
|
||||
* @VirtualProperty
|
||||
* @SerializedName("is_public")
|
||||
|
|
|
@ -187,7 +187,7 @@ entry:
|
|||
unread_label: "Non lus"
|
||||
preview_picture_label: "A une photo"
|
||||
preview_picture_help: "Photo"
|
||||
is_public_label: 'A une lien public'
|
||||
is_public_label: 'A un lien public'
|
||||
is_public_help: 'Lien public'
|
||||
language_label: "Langue"
|
||||
http_status_label: "Statut HTTP"
|
||||
|
|
Loading…
Reference in a new issue