]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Diaspora.php
Yeah, and again notices ... (#5536)
[friendica.git] / src / Protocol / Diaspora.php
index 82255eac9f1c5559a83f2ff9d9282587bcbf04a2..e463857857270420f1261317a8eca6f23239a5cf 100644 (file)
@@ -4089,7 +4089,7 @@ class Diaspora
                                $arr = explode(' ', $profile['pub_keywords']);
                                if (count($arr)) {
                                        for ($x = 0; $x < 5; $x ++) {
-                                               if (trim($arr[$x])) {
+                                               if (!empty($arr[$x])) {
                                                        $tags .= '#'. trim($arr[$x]) .' ';
                                                }
                                        }