commit 8e19eeccc5532da071085c7438c3f9c058c204e6
parent 64b1bd67a32978e4b23e8615eda1b7c8679d53a6
Author: MTRNord <mtrnord1@gmail.com>
Date: Fri, 20 Mar 2015 17:09:16 +0100
more debug
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php
@@ -247,6 +247,7 @@ class DbHandler {
}
if ($post_id == NULL) {
$x = 1;
+ echo $post_id_clean;
while ($x < $post_id_clean+1){
$stmt = $this->conn->prepare("SELECT id,title,text,author,category,date FROM posts WHERE id = ?");
$stmt->bind_param("i", $id);