diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-02-21 07:48:47 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-02-21 12:10:31 +0100 |
commit | 93039081d58f368b977d237a0d546896a7385bbc (patch) | |
tree | 6391bddc1c3377e667482242e4536dde7f5665b2 /Zotlabs/Module | |
parent | 89ee28f858e8abfd23dff94c280e5c4a03ab6153 (diff) | |
download | volse-hubzilla-93039081d58f368b977d237a0d546896a7385bbc.tar.gz volse-hubzilla-93039081d58f368b977d237a0d546896a7385bbc.tar.bz2 volse-hubzilla-93039081d58f368b977d237a0d546896a7385bbc.zip |
fix summary and use item_normal_search() for viewsrc so we can also view the source for articles, cards, etc.
(cherry picked from commit a0ad110cff00bc9c506f5e6b921e5bd350f98f98)
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Viewsrc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Viewsrc.php b/Zotlabs/Module/Viewsrc.php index b73d81283..3e49b9db4 100644 --- a/Zotlabs/Module/Viewsrc.php +++ b/Zotlabs/Module/Viewsrc.php @@ -25,7 +25,7 @@ class Viewsrc extends \Zotlabs\Web\Controller { notice( t('Item not found.') . EOL); } - $item_normal = item_normal(); + $item_normal = item_normal_search(); if(local_channel() && $item_id) { $r = q("select id, mid, item_flags, mimetype, item_obscured, body, llink, plink from item where uid in (%d , %d) and id = %d $item_normal limit 1", |