rpicms

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

commit 89cc7924428cfeabd81dd53c02dbc73e3b42ff1b
parent 84aa1b97123cec0ca637ac816ac8cde7b09a6ca9
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 20 Mar 2015 18:09:01 +0100

IT WORKS!

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

diff --git a/core/api/v1/api.php b/core/api/v1/api.php @@ -187,7 +187,7 @@ $app->get('/posts/', function() { $x = 1; $id = 1; while ($x < $result["post_id_clean"]+1){ - echo $x; + $response["$x"]["error"] = false; $response["$x"]["id"] = $result["$x"]["id"]; $response["$x"]["title"] = $result["$x"]["title"];