rpicms

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

commit 88fe382c28d5f8d37a45b65cedc2157b020b5b4a
parent 17a3ae35cd98aece0727ae6aec8c200c62b5ebc8
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 20 Mar 2015 18:05:10 +0100

I fergot to save a file

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

diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php @@ -244,6 +244,7 @@ class DbHandler { if ($id_sql->execute()) { $post_id_clean_array = $id_sql->get_result()->fetch_assoc(); $post_id_clean = $post_id_clean_array["COUNT(*)"]; + $post["post_id_clean"] = $post_id_clean; } if ($post_id == NULL) { $x = 1; @@ -266,14 +267,9 @@ class DbHandler { } } - echo $id; - echo "sssss"; - echo $post_id_clean; if ($id == $post_id_clean+1){ - echo "test"; return $post; }else{ - echo "test2"; return NULL; }