commit 9bd241726c94a14d0bdeaf7bd92525ed894fa451 parent 925f9a7beeeb6b66d8a68c043efdac4a58ed675f Author: MTRNord <mtrnord1@gmail.com> Date: Fri, 20 Mar 2015 17:55:28 +0100 maybe now Diffstat:
| M | core/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 @@ -267,7 +267,7 @@ class DbHandler { } } - if ($stmt->execute()){ + if ($id == $post_id_clean){ return $post; }else{ return NULL;