diff options
author | zotlabs <mike@macgirvin.com> | 2017-07-18 17:02:50 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-07-18 17:02:50 -0700 |
commit | 82aa87c190e65b16bbf3656cdae7260ff11c780f (patch) | |
tree | 7f53471790836b2a4d0e0bdf5c43b02f9c396c85 /Zotlabs/Module | |
parent | 1af844e474a039a72a9ac779985888816583c9dc (diff) | |
download | volse-hubzilla-82aa87c190e65b16bbf3656cdae7260ff11c780f.tar.gz volse-hubzilla-82aa87c190e65b16bbf3656cdae7260ff11c780f.tar.bz2 volse-hubzilla-82aa87c190e65b16bbf3656cdae7260ff11c780f.zip |
ability to use a portion of the message-id to display a message wasn't honoured in all cases.
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Channel.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php index 51c937270..98c1e1d61 100644 --- a/Zotlabs/Module/Channel.php +++ b/Zotlabs/Module/Channel.php @@ -236,9 +236,9 @@ class Channel extends \Zotlabs\Web\Controller { if($load || ($checkjs->disabled())) { if($mid) { - $r = q("SELECT parent AS item_id from item where mid = '%s' and uid = %d $item_normal + $r = q("SELECT parent AS item_id from item where mid like '%s' and uid = %d $item_normal AND item_wall = 1 $sql_extra limit 1", - dbesc($mid), + dbesc($mid . '%'), intval(\App::$profile['profile_uid']) ); if (! $r) { |