diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-04-05 12:36:20 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2014-04-05 12:36:20 +0200 |
commit | d7ee9f986b7c297d7707a816d6c1c3f4503d721b (patch) | |
tree | a39840ec25d9cc7c108720ab1c56f490b53efd73 /inc/poche | |
parent | db117db3c5b61f2ec10162f1b123024ded6949c2 (diff) | |
parent | 1bcbe8bebf4f469420fc36759e6f5ae5ea551535 (diff) | |
download | wallabag-d7ee9f986b7c297d7707a816d6c1c3f4503d721b.tar.gz wallabag-d7ee9f986b7c297d7707a816d6c1c3f4503d721b.tar.zst wallabag-d7ee9f986b7c297d7707a816d6c1c3f4503d721b.zip |
Merge pull request #603 from mariroz/dev
postgres sequence error fix, issue #602
Diffstat (limited to 'inc/poche')
-rwxr-xr-x | inc/poche/Database.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php index 6244df88..a80eea97 100755 --- a/inc/poche/Database.class.php +++ b/inc/poche/Database.class.php | |||
@@ -374,7 +374,7 @@ class Database { | |||
374 | $id = null; | 374 | $id = null; |
375 | } | 375 | } |
376 | else { | 376 | else { |
377 | $id = intval($this->getLastId( (STORAGE == 'postgres') ? 'users_id_seq' : '' )); | 377 | $id = intval($this->getLastId( (STORAGE == 'postgres') ? 'entries_id_seq' : '') ); |
378 | } | 378 | } |
379 | return $id; | 379 | return $id; |
380 | } | 380 | } |