From 5a29cccc959dfd0be5fdc279ac1170d2db0b3040 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 3 Apr 2015 18:32:51 -0400 Subject: Various fixes for PHPAnalyzer --- app/Controller/Tasklink.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Controller/Tasklink.php') diff --git a/app/Controller/Tasklink.php b/app/Controller/Tasklink.php index 59ce0433..8376b75b 100644 --- a/app/Controller/Tasklink.php +++ b/app/Controller/Tasklink.php @@ -21,7 +21,7 @@ class Tasklink extends Base { $link = $this->taskLink->getById($this->request->getIntegerParam('link_id')); - if (! $link) { + if (empty($link)) { $this->notfound(); } -- cgit v1.2.3