1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-15 13:45:04 -05:00

Merge pull request #603 from mariroz/dev

postgres sequence error fix, issue #602
This commit is contained in:
Nicolas Lœuillet 2014-04-05 12:36:20 +02:00
commit d7ee9f986b

View File

@ -374,7 +374,7 @@ class Database {
$id = null;
}
else {
$id = intval($this->getLastId( (STORAGE == 'postgres') ? 'users_id_seq' : '' ));
$id = intval($this->getLastId( (STORAGE == 'postgres') ? 'entries_id_seq' : '') );
}
return $id;
}