rpicms

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

commit 9ccf80acac4891c44e0cd9b6a3b13ef710241f9c
parent c0dcd15cbde567abb34617fea408b6b05b29e307
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 20 Mar 2015 20:18:29 +0100

bug fixed

Diffstat:
Mcore/api/v1/DbHandler.class.php | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php @@ -257,7 +257,7 @@ class DbHandler { $post["$x"] = $stmt->get_result()->fetch_assoc(); if ($post["$x"]["text"] != NULL){ - $post["$x"]["text"] = html_entity_decode($post["text"]); + $post["$x"]["text"] = html_entity_decode($post["$x"]["text"]); }else{ $post["$x"]["text"] = NULL; } @@ -267,7 +267,6 @@ class DbHandler { $x = $x+1; $id = $id+1; } - var_dump($post); if ($id == $post_id_clean+1){ return $post; }else{