aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-13 16:18:14 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-13 16:18:14 -0700
commit4631a3c282228dff2681cd493f997d14c412fba5 (patch)
tree0ae563374e160ba846affbfff545989987a285d5
parentc4f31ec65a4eb8fdac31e7b711dd66edf1f2bac1 (diff)
downloadvolse-hubzilla-4631a3c282228dff2681cd493f997d14c412fba5.tar.gz
volse-hubzilla-4631a3c282228dff2681cd493f997d14c412fba5.tar.bz2
volse-hubzilla-4631a3c282228dff2681cd493f997d14c412fba5.zip
fix inheritance
-rw-r--r--mod/item.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/mod/item.php b/mod/item.php
index e4551ac57..83854ed15 100644
--- a/mod/item.php
+++ b/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");