]> git.mxchange.org Git - friendica.git/commitdiff
found it - typo
authorFriendika <info@friendika.com>
Fri, 4 Feb 2011 21:40:51 +0000 (13:40 -0800)
committerFriendika <info@friendika.com>
Fri, 4 Feb 2011 21:40:51 +0000 (13:40 -0800)
include/items.php

index bbd9fbb7c99effe95cc0a87f18554d67c493fdd5..359378ff7d9296ead60a69268c33f6975b804402 100644 (file)
@@ -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),