diff options
author | nicosomb <nicolas@loeuillet.org> | 2013-04-18 08:25:15 +0200 |
---|---|---|
committer | nicosomb <nicolas@loeuillet.org> | 2013-04-18 08:25:15 +0200 |
commit | cb1348bc5c514e98595ccc3b050054ce14ca8e8f (patch) | |
tree | d104b8b3414d3fb33efef5d8754f4598f4887baf /inc/functions.php | |
parent | f0fc50119b29135c29be4528c67077e1005915be (diff) | |
download | wallabag-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.php | 1 |
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 | ||