aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Display.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-19 01:37:22 -0700
committerzotlabs <mike@macgirvin.com>2017-08-19 01:37:22 -0700
commitb4880343524aab6b4583c6815d94a5dfe61dd042 (patch)
tree4f14ce1f066473f32adc1c0c7381718110e47fa5 /Zotlabs/Module/Display.php
parent944cd883bbdb8d87d941238eef63d7f15922f2ab (diff)
downloadvolse-hubzilla-b4880343524aab6b4583c6815d94a5dfe61dd042.tar.gz
volse-hubzilla-b4880343524aab6b4583c6815d94a5dfe61dd042.tar.bz2
volse-hubzilla-b4880343524aab6b4583c6815d94a5dfe61dd042.zip
better error reporting on mod_display
Diffstat (limited to 'Zotlabs/Module/Display.php')
-rw-r--r--Zotlabs/Module/Display.php12
1 files changed, 5 insertions, 7 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php
index 81c72adb3..b054d9edf 100644
--- a/Zotlabs/Module/Display.php
+++ b/Zotlabs/Module/Display.php
@@ -324,12 +324,8 @@ class Display extends \Zotlabs\Web\Controller {
}
$o .= '<div id="content-complete"></div>';
-
- return $o;
-
-
- /*
- elseif((! $update) && (! {
+
+ if((! $update) && (! $items)) {
$r = q("SELECT id, item_flags FROM item WHERE id = '%s' OR mid = '%s' LIMIT 1",
dbesc($item_hash),
@@ -348,7 +344,9 @@ class Display extends \Zotlabs\Web\Controller {
}
}
- */
+
+ return $o;
+
}