mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-27 17:28:39 +00:00
Merge pull request #603 from mariroz/dev
postgres sequence error fix, issue #602
This commit is contained in:
commit
d7ee9f986b
1 changed files with 1 additions and 1 deletions
|
@ -374,7 +374,7 @@ class Database {
|
||||||
$id = null;
|
$id = null;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$id = intval($this->getLastId( (STORAGE == 'postgres') ? 'users_id_seq' : '' ));
|
$id = intval($this->getLastId( (STORAGE == 'postgres') ? 'entries_id_seq' : '') );
|
||||||
}
|
}
|
||||||
return $id;
|
return $id;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue