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)) {
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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")
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue