From 88d0bf94d89ac739469528bdab7905d0c00cf8a9 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 19 Nov 2017 23:09:15 +0100 Subject: hq: $item_normal was defined to late --- Zotlabs/Module/Hq.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Zotlabs/Module/Hq.php') diff --git a/Zotlabs/Module/Hq.php b/Zotlabs/Module/Hq.php index a3b2e7a6d..41e9d40ca 100644 --- a/Zotlabs/Module/Hq.php +++ b/Zotlabs/Module/Hq.php @@ -39,6 +39,9 @@ class Hq extends \Zotlabs\Web\Controller { if($_REQUEST['mid']) $item_hash = $_REQUEST['mid']; + $item_normal = item_normal(); + $item_normal_update = item_normal_update(); + if(! $item_hash) { $r = q("SELECT mid FROM item @@ -177,9 +180,6 @@ class Hq extends \Zotlabs\Web\Controller { } - $item_normal = item_normal(); - $item_normal_update = item_normal_update(); - if($load) { $r = null; -- cgit v1.2.3