diff options
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 3c742828..a629efc7 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -630,7 +630,8 @@ class Entry | |||
630 | public function generateUuid() | 630 | public function generateUuid() |
631 | { | 631 | { |
632 | if (empty($this->uuid) || is_null($this->uuid)) { | 632 | if (empty($this->uuid) || is_null($this->uuid)) { |
633 | $this->uuid = uniqid(); | 633 | // @see http://blog.kevingomez.fr/til/2015/07/26/why-is-uniqid-slow/ for true parameter |
634 | $this->uuid = uniqid('', true); | ||
634 | } | 635 | } |
635 | } | 636 | } |
636 | } | 637 | } |