aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-07-16 01:56:32 -0700
committerfriendica <info@friendica.com>2012-07-16 01:56:32 -0700
commit0dc9c66b170afdeefbfd3ae8873e97882a56db3e (patch)
treeff21d3789b3774e776d067a35a8bd756dadb3555
parentb79212dcc8849058e71b4fe51fae4898c4c81d14 (diff)
downloadvolse-hubzilla-0dc9c66b170afdeefbfd3ae8873e97882a56db3e.tar.gz
volse-hubzilla-0dc9c66b170afdeefbfd3ae8873e97882a56db3e.tar.bz2
volse-hubzilla-0dc9c66b170afdeefbfd3ae8873e97882a56db3e.zip
check for existence, not value of $arr['term']
-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']);
}