aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-02-21 08:48:47 +0100
committerMario Vavti <mario@mariovavti.com>2019-02-21 08:48:47 +0100
commita0ad110cff00bc9c506f5e6b921e5bd350f98f98 (patch)
treeb3ed221dfb003b9df9199ca0be7a6538cfff0879 /Zotlabs
parent7f1e0313a0213de26b9c3cbd063348edd2cd14b8 (diff)
downloadvolse-hubzilla-a0ad110cff00bc9c506f5e6b921e5bd350f98f98.tar.gz
volse-hubzilla-a0ad110cff00bc9c506f5e6b921e5bd350f98f98.tar.bz2
volse-hubzilla-a0ad110cff00bc9c506f5e6b921e5bd350f98f98.zip
fix summary and use item_normal_search() for viewsrc so we can also view the source for articles, cards, etc.
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Viewsrc.php2
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",