mirror of
https://github.com/friendica/friendica
synced 2024-11-18 01:03:40 +00:00
fix inheritance
This commit is contained in:
parent
c4f31ec65a
commit
4631a3c282
1 changed files with 6 additions and 6 deletions
12
mod/item.php
12
mod/item.php
|
@ -5,7 +5,7 @@ function sanitise_acl(&$item) {
|
|||
}
|
||||
|
||||
function item_post(&$a) {
|
||||
|
||||
dbg(2);
|
||||
if((! local_user()) && (! remote_user()))
|
||||
return;
|
||||
|
||||
|
@ -126,10 +126,10 @@ function item_post(&$a) {
|
|||
|
||||
$r = q("UPDATE `item` SET `allow_cid` = '%s', `allow_gid` = '%s', `deny_cid` = '%s', `deny_gid` = '%s'
|
||||
WHERE `id` = %d LIMIT 1",
|
||||
intval($parent_item['allow_cid']),
|
||||
intval($parent_item['allow_gid']),
|
||||
intval($parent_item['deny_cid']),
|
||||
intval($parent_item['deny_gid']),
|
||||
dbesc($parent_item['allow_cid']),
|
||||
dbesc($parent_item['allow_gid']),
|
||||
dbesc($parent_item['deny_cid']),
|
||||
dbesc($parent_item['deny_gid']),
|
||||
intval($post_id)
|
||||
);
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ function item_post(&$a) {
|
|||
array(),$foo));
|
||||
|
||||
}
|
||||
goaway($a->get_baseurl() . "/profile/$profile_uid");
|
||||
// goaway($a->get_baseurl() . "/profile/$profile_uid");
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue