rpicms

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

commit f8c21bfdb40caef3265690b0919cef73099925ae
parent 92ed4c912ce0bac5c36a8dcc001a3d75766dc707
Author: MTRNord <mtrnord1@gmail.com>
Date:   Wed, 18 Mar 2015 21:17:48 +0100

hmmm

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

diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php @@ -240,12 +240,13 @@ class DbHandler { * @param String $task_id id of the task */ public function getPosts($post_id) { - echo $post_id; if ($post_id = NULL){ echo "id=null"; return $all; }else{ - echo "id=$post_id"; + #echo "id=$post_id"; + + echo $post_id; $stmt = $this->conn->prepare("SELECT id,title,text,author,category,date FROM posts WHERE id = ?"); $stmt->bind_param("i", $post_id);