aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2014-04-05 12:36:20 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2014-04-05 12:36:20 +0200
commitd7ee9f986b7c297d7707a816d6c1c3f4503d721b (patch)
treea39840ec25d9cc7c108720ab1c56f490b53efd73 /inc/poche
parentdb117db3c5b61f2ec10162f1b123024ded6949c2 (diff)
parent1bcbe8bebf4f469420fc36759e6f5ae5ea551535 (diff)
downloadwallabag-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-xinc/poche/Database.class.php2
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 }