rpicms

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

commit 6300209a5ac11bb62137fd9484bf5d5fcd1c2c34
parent a8c77070438591d6840c48f8d64062d2de606999
Author: MTRNord <mtrnord1@gmail.com>
Date:   Thu, 19 Mar 2015 21:31:20 +0100

new try

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

diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php @@ -246,7 +246,7 @@ class DbHandler { } if ($post_id == NULL) { $x = 1; - echo $post_id_clean; + var_dump($post_id_clean); 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);