commit 3388717ebd7806ec897f858673b284f0ad4ce668
parent eb48f7a3b1b1b0be77239c968a2700feda39496f
Author: MTRNord <mtrnord1@gmail.com>
Date: Fri, 20 Mar 2015 17:24:17 +0100
near
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php
@@ -247,14 +247,14 @@ class DbHandler {
}
if ($post_id == NULL) {
$x = 1;
- var_dump($post_id_clean_array);
+ #var_dump($post_id_clean_array);
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);
if ($stmt->execute()) {
$post["$x"] = $stmt->get_result()->fetch_assoc();
- #echo $x;
- #var_dump($post);
+ echo $x;
+ var_dump($post);
if ($post["$x"]["text"] != NULL){
$post["$x"]["text"] = html_entity_decode($post["text"]);
}else{