Browse Source

$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>
pull/3254/head
Roland Haeder 4 years ago
parent
commit
eab654dd65
No known key found for this signature in database GPG Key ID: B72F8185C6C7BD78
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mod/item.php

+ 1
- 0
mod/item.php 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;


Loading…
Cancel
Save