fix with update with /channel?f=&mid=hash issue #461
This commit is contained in:
parent
71632ac2d2
commit
d92e9f38f8
@ -178,10 +178,11 @@ class Channel extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
if($mid) {
|
if($mid) {
|
||||||
$r = q("SELECT parent AS item_id from item where mid like '%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 AND item_unseen = 1 $sql_extra limit 1",
|
AND item_wall = 1 $simple_update $sql_extra limit 1",
|
||||||
dbesc($mid . '%'),
|
dbesc($mid . '%'),
|
||||||
intval(\App::$profile['profile_uid'])
|
intval(\App::$profile['profile_uid'])
|
||||||
);
|
);
|
||||||
|
$_SESSION['loadtime'] = datetime_convert();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$r = q("SELECT distinct parent AS `item_id`, created from item
|
$r = q("SELECT distinct parent AS `item_id`, created from item
|
||||||
|
Reference in New Issue
Block a user