rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

commit ef01e2495caa1a47d8e2c9af93e1a5016b1de083
parent b9f9cb374ff8f8e63e070f201eb0105dcacff4ee
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 20 Mar 2015 17:12:58 +0100

I amke this misstake all the time...

Diffstat:
Mcore/api/v1/DbHandler.class.php | 6+++---
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; - echo $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{