From 0dc9c66b170afdeefbfd3ae8873e97882a56db3e Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 16 Jul 2012 01:56:32 -0700 Subject: check for existence, not value of $arr['term'] --- include/items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/items.php b/include/items.php index 81e92d588..b989891a6 100755 --- a/include/items.php +++ b/include/items.php @@ -969,7 +969,7 @@ function item_store($arr,$force_parent = false) { // pull out all the taxonomy stuff for separate storage $terms = null; - if($arr['term']) { + if(x($arr,'term')) { $terms = $arr['term']; unset($arr['term']); } -- cgit v1.2.3