1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-17 17:08:37 +00:00

Add test and fix migration

This commit is contained in:
Nicolas Lœuillet 2016-04-15 13:42:13 +02:00
parent 222e09f140
commit a7e2218e25
3 changed files with 51 additions and 5 deletions

View file

@ -630,7 +630,8 @@ class Entry
public function generateUuid()
{
if (empty($this->uuid) || is_null($this->uuid)) {
$this->uuid = uniqid();
// @see http://blog.kevingomez.fr/til/2015/07/26/why-is-uniqid-slow/ for true parameter
$this->uuid = uniqid('', true);
}
}
}