aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/functions.php
diff options
context:
space:
mode:
authornicosomb <nicolas@loeuillet.org>2013-04-18 08:25:15 +0200
committernicosomb <nicolas@loeuillet.org>2013-04-18 08:25:15 +0200
commitcb1348bc5c514e98595ccc3b050054ce14ca8e8f (patch)
treed104b8b3414d3fb33efef5d8754f4598f4887baf /inc/functions.php
parentf0fc50119b29135c29be4528c67077e1005915be (diff)
downloadwallabag-cb1348bc5c514e98595ccc3b050054ce14ca8e8f.tar.gz
wallabag-cb1348bc5c514e98595ccc3b050054ce14ca8e8f.tar.zst
wallabag-cb1348bc5c514e98595ccc3b050054ce14ca8e8f.zip
Fixed #53 - on ne passait pas d'id pour la création du répertoire d'images lors de l'import pocket
Diffstat (limited to 'inc/functions.php')
-rw-r--r--inc/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/functions.php b/inc/functions.php
index a6109ef7..b7c7baff 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -240,6 +240,7 @@ function action_to_do($action, $id, $url, $token)
240 if ($url == '') 240 if ($url == '')
241 continue; 241 continue;
242 242
243 # FIXME corriger cette génération d'ID
243 $req = $db->getHandle()->query("SELECT id FROM entries ORDER BY id DESC"); 244 $req = $db->getHandle()->query("SELECT id FROM entries ORDER BY id DESC");
244 $id = $req->fetchColumn()+1; 245 $id = $req->fetchColumn()+1;
245 246