]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
CS 3208/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 10 Jun 2017 14:08:24 +0000 (16:08 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 10 Jun 2017 14:08:24 +0000 (16:08 +0200)
src/Wallabag/ApiBundle/Controller/EntryRestController.php

index afd708e6aa21368f2c16bf353338732876f81e7a..768c4fdc3423c7db828a9bca9d854bc2f884e69a 100644 (file)
@@ -682,7 +682,7 @@ class EntryRestController extends WallabagRestController
         if (!is_null($isPublic)) {
             if (true === (bool) $isPublic && null === $entry->getUid()) {
                 $entry->generateUid();
-            } else if (false === (bool) $isPublic) {
+            } elseif (false === (bool) $isPublic) {
                 $entry->cleanUid();
             }
         }