aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-19 23:09:15 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-19 23:09:15 +0100
commit88d0bf94d89ac739469528bdab7905d0c00cf8a9 (patch)
treefaad8cf0e7ef2a720ce002e6b280ae31a77971d0
parent241a0829dc59c9c4376c10bc2f4ca833510f29eb (diff)
downloadvolse-hubzilla-88d0bf94d89ac739469528bdab7905d0c00cf8a9.tar.gz
volse-hubzilla-88d0bf94d89ac739469528bdab7905d0c00cf8a9.tar.bz2
volse-hubzilla-88d0bf94d89ac739469528bdab7905d0c00cf8a9.zip
hq: $item_normal was defined to late
-rw-r--r--Zotlabs/Module/Hq.php6
1 files changed, 3 insertions, 3 deletions
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;