commit 2c229c0618eb41fbbf34436ec0151119987c15bf
parent 423263013493e7016b4638266f9d2d2a722ae919
Author: MTRNord <mtrnord1@gmail.com>
Date: Wed, 18 Mar 2015 21:30:04 +0100
hmm variable is back
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php
@@ -244,9 +244,7 @@ class DbHandler {
echo "id=null";
return $all;
}else{
- #echo "id=$post_id";
-
- echo $post_id;
+ echo "id=$post_id";
$stmt = $this->conn->prepare("SELECT id,title,text,author,category,date FROM posts WHERE id = ?");
$stmt->bind_param("i", $post_id);