aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/poche/Database.class.php
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-04-05 11:22:33 +0300
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-04-05 11:22:33 +0300
commit1bcbe8bebf4f469420fc36759e6f5ae5ea551535 (patch)
tree3eb138d4ca8e63d8b1d435573a76f437752d1d6e /inc/poche/Database.class.php
parent06e1a9a98a1d7276e23ba47a15225a1a0741dd2d (diff)
downloadwallabag-1bcbe8bebf4f469420fc36759e6f5ae5ea551535.tar.gz
wallabag-1bcbe8bebf4f469420fc36759e6f5ae5ea551535.tar.zst
wallabag-1bcbe8bebf4f469420fc36759e6f5ae5ea551535.zip
postgres sequence error fix, issue #602
Diffstat (limited to 'inc/poche/Database.class.php')
-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 }