]> git.mxchange.org Git - friendica.git/commitdiff
$tagged is being initialized but not written to until the foreach() loop is
authorRoland Haeder <roland@mxchange.org>
Fri, 31 Mar 2017 18:44:38 +0000 (20:44 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 31 Mar 2017 18:45:15 +0000 (20:45 +0200)
being executed. Maybe here is old-lost code anyway?

Signed-off-by: Roland Haeder <roland@mxchange.org>
mod/item.php

index bcf7a4b4693699db540603e27e4ba72e3e7280ad..3c5fcd9abbc9d5f8ac01932ac1965bd0a0719d7a 100644 (file)
@@ -581,6 +581,7 @@ function item_post(App $a) {
                         * Robert Johnson should be first in the $tags array
                         */
                        $fullnametagged = false;
+                       /// @TODO $tagged is initialized above if() block and is not filled, maybe old-lost code?
                        foreach ($tagged as $nextTag) {
                                if (stristr($nextTag, $tag . ' ')) {
                                        $fullnametagged = true;