aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-06-10 16:08:24 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-06-10 16:08:24 +0200
commitd9da186fb8427ca82d1fd7c4e2ef3f5032781f23 (patch)
tree820044e9630a1e0db88d9838370b6e50e6e0b376 /src/Wallabag
parenta9c6577f0c51dd4282e022fa4b41cbb7b0e201b3 (diff)
downloadwallabag-d9da186fb8427ca82d1fd7c4e2ef3f5032781f23.tar.gz
wallabag-d9da186fb8427ca82d1fd7c4e2ef3f5032781f23.tar.zst
wallabag-d9da186fb8427ca82d1fd7c4e2ef3f5032781f23.zip
CS
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/ApiBundle/Controller/EntryRestController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/ApiBundle/Controller/EntryRestController.php b/src/Wallabag/ApiBundle/Controller/EntryRestController.php
index afd708e6..768c4fdc 100644
--- a/src/Wallabag/ApiBundle/Controller/EntryRestController.php
+++ b/src/Wallabag/ApiBundle/Controller/EntryRestController.php
@@ -682,7 +682,7 @@ class EntryRestController extends WallabagRestController
682 if (!is_null($isPublic)) { 682 if (!is_null($isPublic)) {
683 if (true === (bool) $isPublic && null === $entry->getUid()) { 683 if (true === (bool) $isPublic && null === $entry->getUid()) {
684 $entry->generateUid(); 684 $entry->generateUid();
685 } else if (false === (bool) $isPublic) { 685 } elseif (false === (bool) $isPublic) {
686 $entry->cleanUid(); 686 $entry->cleanUid();
687 } 687 }
688 } 688 }