commit 01fe6dc858448a3d0f59c72b7f2ea137fa9b4e7e
parent cc4f814aa0a2d8bbeaa85f671dd5b43eb1082f0b
Author: MTRNord <mtrnord1@gmail.com>
Date: Fri, 20 Mar 2015 18:16:09 +0100
some fix
Diffstat:
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 = 0;
+ $id = 1;
while ($x < $result["post_id_clean"]+1){
$response["$id"]["error"] = false;