aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-19 15:11:12 -0700
committerzotlabs <mike@macgirvin.com>2017-08-19 15:11:12 -0700
commited71afa6c7ada8ae972474f1846932032c782a94 (patch)
treee6f805713a4248f7fda09408c1d602b239f41f4c /Zotlabs/Module
parentb4880343524aab6b4583c6815d94a5dfe61dd042 (diff)
downloadvolse-hubzilla-ed71afa6c7ada8ae972474f1846932032c782a94.tar.gz
volse-hubzilla-ed71afa6c7ada8ae972474f1846932032c782a94.tar.bz2
volse-hubzilla-ed71afa6c7ada8ae972474f1846932032c782a94.zip
more work on mod_display
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Display.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Display.php b/Zotlabs/Module/Display.php
index b054d9edf..d9f623d8d 100644
--- a/Zotlabs/Module/Display.php
+++ b/Zotlabs/Module/Display.php
@@ -324,8 +324,9 @@ class Display extends \Zotlabs\Web\Controller {
}
$o .= '<div id="content-complete"></div>';
+
- if((! $update) && (! $items)) {
+ if((($update && $load) || $checkjs->disabled()) && (! $items)) {
$r = q("SELECT id, item_flags FROM item WHERE id = '%s' OR mid = '%s' LIMIT 1",
dbesc($item_hash),