]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Term.php
Improved definition style
[friendica.git] / src / Model / Term.php
index 928c35f20796cdbdd0cc94bca10c3d5f29cb8a82..13639f770083cdf1a0522da26f6341270c964f57 100644 (file)
@@ -330,6 +330,10 @@ class Term
                                continue;
                        }
 
+                       if (empty($term)) {
+                               continue;
+                       }
+
                        if ($item['uid'] == 0) {
                                $global = true;
                                DBA::update('term', ['global' => true], ['otype' => self::OBJECT_TYPE_POST, 'guid' => $item['guid']]);