aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 }