$tagged is being initialized but not written to until the foreach() loop is

being executed. Maybe here is old-lost code anyway?

Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-03-31 20:44:38 +02:00
parent 8bdc906013
commit eab654dd65
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View 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;