rpicms

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

commit 423263013493e7016b4638266f9d2d2a722ae919
parent f8c21bfdb40caef3265690b0919cef73099925ae
Author: MTRNord <mtrnord1@gmail.com>
Date:   Wed, 18 Mar 2015 21:28:15 +0100

where is the variable in the else? :O

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 @@ -240,7 +240,7 @@ class DbHandler { * @param String $task_id id of the task */ public function getPosts($post_id) { - if ($post_id = NULL){ + if ($post_id == NULL) { echo "id=null"; return $all; }else{