summaryrefslogtreecommitdiff
path: root/app/Controller/Link.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller/Link.php')
-rw-r--r--app/Controller/Link.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controller/Link.php b/app/Controller/Link.php
index ec9c6195..4a29a3e2 100644
--- a/app/Controller/Link.php
+++ b/app/Controller/Link.php
@@ -37,7 +37,7 @@ class Link extends Base
{
$link = $this->link->getById($this->request->getIntegerParam('link_id'));
- if (! $link) {
+ if (empty($link)) {
$this->notfound();
}