$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:
parent
8bdc906013
commit
eab654dd65
|
@ -581,6 +581,7 @@ function item_post(App $a) {
|
||||||
* Robert Johnson should be first in the $tags array
|
* Robert Johnson should be first in the $tags array
|
||||||
*/
|
*/
|
||||||
$fullnametagged = false;
|
$fullnametagged = false;
|
||||||
|
/// @TODO $tagged is initialized above if() block and is not filled, maybe old-lost code?
|
||||||
foreach ($tagged as $nextTag) {
|
foreach ($tagged as $nextTag) {
|
||||||
if (stristr($nextTag, $tag . ' ')) {
|
if (stristr($nextTag, $tag . ' ')) {
|
||||||
$fullnametagged = true;
|
$fullnametagged = true;
|
||||||
|
|
Loading…
Reference in a new issue