1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Few fixes

This commit is contained in:
Jeremy Benoist 2017-06-10 15:37:25 +02:00
parent 1112e54772
commit a9c6577f0c
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
3 changed files with 4 additions and 3 deletions

View file

@ -680,10 +680,10 @@ class EntryRestController extends WallabagRestController
} }
if (!is_null($isPublic)) { if (!is_null($isPublic)) {
$entry->cleanUid();
if (true === (bool) $isPublic && null === $entry->getUid()) { if (true === (bool) $isPublic && null === $entry->getUid()) {
$entry->generateUid(); $entry->generateUid();
} else if (false === (bool) $isPublic) {
$entry->cleanUid();
} }
} }

View file

@ -686,6 +686,7 @@ class Entry
/** /**
* Used in the entries filter so it's more explicit for the end user than the uid. * Used in the entries filter so it's more explicit for the end user than the uid.
* Also used in the API.
* *
* @VirtualProperty * @VirtualProperty
* @SerializedName("is_public") * @SerializedName("is_public")

View file

@ -187,7 +187,7 @@ entry:
unread_label: "Non lus" unread_label: "Non lus"
preview_picture_label: "A une photo" preview_picture_label: "A une photo"
preview_picture_help: "Photo" preview_picture_help: "Photo"
is_public_label: 'A une lien public' is_public_label: 'A un lien public'
is_public_help: 'Lien public' is_public_help: 'Lien public'
language_label: "Langue" language_label: "Langue"
http_status_label: "Statut HTTP" http_status_label: "Statut HTTP"