aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-04 13:40:51 -0800
committerFriendika <info@friendika.com>2011-02-04 13:40:51 -0800
commit8cced061bba8d5ef18e2fa5ead0edcdc90d06e73 (patch)
treed759998dc61c6157e10f79ffd5159dba9d9afebf /include/items.php
parent1d0d765344e155086a65b8b56c1c0ec70d9a8a15 (diff)
downloadvolse-hubzilla-8cced061bba8d5ef18e2fa5ead0edcdc90d06e73.tar.gz
volse-hubzilla-8cced061bba8d5ef18e2fa5ead0edcdc90d06e73.tar.bz2
volse-hubzilla-8cced061bba8d5ef18e2fa5ead0edcdc90d06e73.zip
found it - typo
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index bbd9fbb7c..359378ff7 100644
--- a/include/items.php
+++ b/include/items.php
@@ -751,7 +751,7 @@ function item_store($arr,$force_parent = false) {
// Set parent id - and also make sure to inherit the parent's ACL's.
$r = q("UPDATE `item` SET `parent` = %d, `allow_cid` = '%s', `allow_gid` = '%s',
- `deny_cid` = '%s', `deny_gid` = '%s', `private` = %d, `deleted` = $d WHERE `id` = %d LIMIT 1",
+ `deny_cid` = '%s', `deny_gid` = '%s', `private` = %d, `deleted` = %d WHERE `id` = %d LIMIT 1",
intval($parent_id),
dbesc($allow_cid),
dbesc($allow_gid),