rpicms

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

commit fbe0afa030df6ae1068561ad4fc55bb76f367300
parent c99e5ca9e7c153220a026ef21a7a04ce71c7e580
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 20 Mar 2015 20:16:40 +0100

why isn't it working?

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

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