diff options
author | redmatrix <git@macgirvin.com> | 2016-01-23 16:25:38 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-23 16:25:38 -0800 |
commit | 7b73a689e1b8bc7de96b30f8080d6a7fb479e7ae (patch) | |
tree | 6b762b2751685a44cbebb4b2e8ddfceec36e9090 /mod/channel.php | |
parent | 945689d01c52871293c921329864ce3c5c7dece2 (diff) | |
download | volse-hubzilla-7b73a689e1b8bc7de96b30f8080d6a7fb479e7ae.tar.gz volse-hubzilla-7b73a689e1b8bc7de96b30f8080d6a7fb479e7ae.tar.bz2 volse-hubzilla-7b73a689e1b8bc7de96b30f8080d6a7fb479e7ae.zip |
provide option to use exec in proc_run
Diffstat (limited to 'mod/channel.php')
-rw-r--r-- | mod/channel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/channel.php b/mod/channel.php index 074017466..3b80e2cb8 100644 --- a/mod/channel.php +++ b/mod/channel.php @@ -163,6 +163,7 @@ function channel_content(&$a, $update = 0, $load = false) { $simple_update = ''; if(($update) && (! $load)) { + if ($mid) { $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", @@ -258,7 +259,6 @@ function channel_content(&$a, $update = 0, $load = false) { $items = array(); } - if((! $update) && (! $load)) { // This is ugly, but we can't pass the profile_uid through the session to the ajax updater, |