commit a8c77070438591d6840c48f8d64062d2de606999
parent 5a17061a21163f260c94e605ecd362f38c35aba5
Author: MTRNord <mtrnord1@gmail.com>
Date: Thu, 19 Mar 2015 21:30:32 +0100
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
@@ -246,6 +246,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);