diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-19 01:37:22 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-08-19 01:37:22 -0700 |
commit | b4880343524aab6b4583c6815d94a5dfe61dd042 (patch) | |
tree | 4f14ce1f066473f32adc1c0c7381718110e47fa5 /Zotlabs | |
parent | 944cd883bbdb8d87d941238eef63d7f15922f2ab (diff) | |
download | volse-hubzilla-b4880343524aab6b4583c6815d94a5dfe61dd042.tar.gz volse-hubzilla-b4880343524aab6b4583c6815d94a5dfe61dd042.tar.bz2 volse-hubzilla-b4880343524aab6b4583c6815d94a5dfe61dd042.zip |
better error reporting on mod_display
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Module/Display.php | 12 |
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; + } |