aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
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']);
}