rpicms

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

commit 901fd31d5c847465927877c68c10e7e24fedf084
parent 0b88a393503ebae30036eb3a59005a2a4151f681
Author: MTRNord <mtrnord1@gmail.com>
Date:   Fri, 20 Mar 2015 18:12:46 +0100

I broke it :/

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 @@ -185,7 +185,7 @@ $app->get('/posts/', function() { $result = $db->getPosts(NULL); if ($result != NULL) { $x = 1; - $id = 2; + $id = 1; while ($x < $result["post_id_clean"]+1){ $response["$id"]["error"] = false;