Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmr committed Dec 19, 2024
1 parent 9bde10e commit 3dc71a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/tag.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static function canItemtype($itemtype = '')
$tags = new self();
$types_menu = [];
foreach ($tags->find(['is_active' => 1]) as $tag) {
$types_menu = array_merge($types_menu ,json_decode($tag['type_menu']));
$types_menu = array_merge($types_menu, json_decode($tag['type_menu']));
}
return !empty($itemtype) && class_exists($itemtype) && !in_array($itemtype, self::getBlacklistItemtype()) && in_array($itemtype, $types_menu);
}
Expand Down

0 comments on commit 3dc71a4

Please sign in to comment.