mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-24 00:20:28 +00:00
postgres sequence error fix, issue #602
This commit is contained in:
parent
06e1a9a98a
commit
1bcbe8bebf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue