]> git.mxchange.org Git - friendica.git/commitdiff
Avoid a notice
authorTobias Hößl <tobias@hoessl.eu>
Tue, 28 Feb 2012 12:56:16 +0000 (12:56 +0000)
committerTobias Hößl <tobias@hoessl.eu>
Tue, 28 Feb 2012 12:56:16 +0000 (12:56 +0000)
include/items.php

index 5452dfbdab93c1e2313b3bf67e5ad3325714f438..5268dfc1d8bb859bfa66e898bd89f43ed40b710f 100755 (executable)
@@ -742,6 +742,7 @@ function item_store($arr,$force_parent = false) {
 
        if($arr['parent-uri'] === $arr['uri']) {
                $parent_id = 0;
+               $parent_deleted = 0;
                $allow_cid = $arr['allow_cid'];
                $allow_gid = $arr['allow_gid'];
                $deny_cid  = $arr['deny_cid'];