diff options
author | friendica <info@friendica.com> | 2012-07-16 01:56:32 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-07-16 01:56:32 -0700 |
commit | 0dc9c66b170afdeefbfd3ae8873e97882a56db3e (patch) | |
tree | ff21d3789b3774e776d067a35a8bd756dadb3555 | |
parent | b79212dcc8849058e71b4fe51fae4898c4c81d14 (diff) | |
download | volse-hubzilla-0dc9c66b170afdeefbfd3ae8873e97882a56db3e.tar.gz volse-hubzilla-0dc9c66b170afdeefbfd3ae8873e97882a56db3e.tar.bz2 volse-hubzilla-0dc9c66b170afdeefbfd3ae8873e97882a56db3e.zip |
check for existence, not value of $arr['term']
-rwxr-xr-x | include/items.php | 2 |
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']); } |