aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Viewsrc.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-02-07 19:54:07 -0800
committerzotlabs <mike@macgirvin.com>2019-02-07 19:54:07 -0800
commit4837f9cdad47b6709b8b5cefac821d28435d6783 (patch)
treea423148e097d1f9b651730876342b8916ae0c350 /Zotlabs/Module/Viewsrc.php
parent317c53acf6b74a4f92284074017985fb09662a46 (diff)
parent2b7a60522394d87eb3362829497e7a1a2542ca55 (diff)
downloadvolse-hubzilla-4837f9cdad47b6709b8b5cefac821d28435d6783.tar.gz
volse-hubzilla-4837f9cdad47b6709b8b5cefac821d28435d6783.tar.bz2
volse-hubzilla-4837f9cdad47b6709b8b5cefac821d28435d6783.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into xdev_merge
Diffstat (limited to 'Zotlabs/Module/Viewsrc.php')
-rw-r--r--Zotlabs/Module/Viewsrc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Viewsrc.php b/Zotlabs/Module/Viewsrc.php
index 119990b57..b73d81283 100644
--- a/Zotlabs/Module/Viewsrc.php
+++ b/Zotlabs/Module/Viewsrc.php
@@ -28,7 +28,7 @@ class Viewsrc extends \Zotlabs\Web\Controller {
$item_normal = item_normal();
if(local_channel() && $item_id) {
- $r = q("select id, item_flags, mimetype, item_obscured, body, llink, plink from item where uid in (%d , %d) and id = %d $item_normal limit 1",
+ $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",
intval(local_channel()),
intval($sys['channel_id']),
intval($item_id)
@@ -53,7 +53,7 @@ class Viewsrc extends \Zotlabs\Web\Controller {
if(is_ajax()) {
echo '<div class="p-1">';
- echo '<div>id: ' . $r[0]['id'] . ' | <a href="' . $r[0]['plink'] . '" target="_blank">plink</a> | <a href="' . $r[0]['llink'] . '" target="_blank">llink</a></div>';
+ echo '<div>id: ' . $r[0]['id'] . ' | <a href="' . $r[0]['plink'] . '" target="_blank">plink</a> | <a href="' . $r[0]['llink'] . '" target="_blank">llink</a><br>mid: ' . $r[0]['mid'] . '</div>';
echo '<hr>';
echo '<pre class="p-1">' . $o . '</pre>';
echo '</div>';