rpicms

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

commit d9ed6b8cc93ab801d2abd34598f7fd3344152a7a
parent 84e31033201e6a25367524a032c79f902ed0143e
Author: MTRNord <mtrnord1@gmail.com>
Date:   Thu, 19 Mar 2015 21:34:01 +0100

near

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 @@ -241,7 +241,7 @@ class DbHandler { */ public function getPosts($post_id) { $id = $this->conn->prepare("SELECT id FROM posts"); - if ($id->execute()) { + while ($id->execute()) { $post_id_clean_array = $id->get_result()->fetch_assoc(); $post_id_clean = $post_id_clean_array["id"]; }