aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/functions.php
diff options
context:
space:
mode:
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