]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Entity/Entry.php
Update test
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Entry.php
index 67c2bb431eede30009f6078555af28d8351371a9..4d7e001bed619a58bc85d1f1d886fd8f21130208 100644 (file)
@@ -627,7 +627,7 @@ class Entry
 
     public function generateUuid()
     {
-        if (empty($this->uuid) || is_null($this->uuid)) {
+        if (null === $this->uuid) {
             // @see http://blog.kevingomez.fr/til/2015/07/26/why-is-uniqid-slow/ for true parameter
             $this->uuid = uniqid('', true);
         }