Merge branch 'master' into tres
Conflicts: include/Import/refimport.php include/activities.php include/attach.php include/event.php include/externals.php include/identity.php include/items.php include/notifier.php include/photos.php include/taxonomy.php include/zot.php mod/channel.php mod/connedit.php mod/events.php mod/item.php mod/like.php mod/manage.php mod/mood.php mod/ping.php mod/poke.php mod/subthread.php mod/tagger.php mod/thing.php
This commit is contained in:
@@ -133,8 +133,9 @@ function webpages_content(&$a) {
|
||||
$sql_extra = item_permissions_sql($owner);
|
||||
|
||||
$r = q("select * from item_id left join item on item_id.iid = item.id
|
||||
where item_id.uid = %d and service = 'WEBPAGE' $sql_extra order by item.created desc",
|
||||
intval($owner)
|
||||
where item_id.uid = %d and service = 'WEBPAGE' and item_restrict = %d $sql_extra order by item.created desc",
|
||||
intval($owner),
|
||||
intval(ITEM_WEBPAGE)
|
||||
);
|
||||
|
||||
$pages = null;
|
||||
|
||||
Reference in New Issue
Block a user