diff options
author | friendica <info@friendica.com> | 2015-01-29 14:51:41 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2015-01-29 14:51:41 -0800 |
commit | ff68ea608786a698ad46637ef13854ac1b1e6beb (patch) | |
tree | 5e9bec7525754dda60c8c08bc00802160efa202c /mod/home.php | |
parent | a2cdd1499c968c31ae1b95933231f80be5fc639b (diff) | |
download | volse-hubzilla-ff68ea608786a698ad46637ef13854ac1b1e6beb.tar.gz volse-hubzilla-ff68ea608786a698ad46637ef13854ac1b1e6beb.tar.bz2 volse-hubzilla-ff68ea608786a698ad46637ef13854ac1b1e6beb.zip |
more message restrict conversions
Diffstat (limited to 'mod/home.php')
-rw-r--r-- | mod/home.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/home.php b/mod/home.php index 648a8ff4f..13b5b2905 100644 --- a/mod/home.php +++ b/mod/home.php @@ -74,10 +74,10 @@ function home_content(&$a, $update = 0, $load = false) { $r = q("select item.* from item left join item_id on item.id = item_id.iid where item.uid = %d and sid = '%s' and service = 'WEBPAGE' and - item_restrict = %d limit 1", + item_type = %d limit 1", intval($u[0]['channel_id']), dbesc($page_id), - intval(ITEM_WEBPAGE) + intval(ITEM_TYPE_WEBPAGE) ); if($r) { |