Skip to content

Commit

Permalink
add some objects
Browse files Browse the repository at this point in the history
  • Loading branch information
frederic34 committed Nov 3, 2023
1 parent 5a8e939 commit a10faf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/easytooltip.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function easytooltipAdminPrepareHead()
$resql = $db->query($sql);
$modules = [];
while ($resql && $obj = $db->fetch_object($resql)) {
$names = explode('_'.$conf->entity.'_', $obj->name);
$names = explode('_' . $conf->entity . '_', $obj->name);
$name = str_replace('EASYTOOLTIP_', '', $names[0]);
if (!isset($modules[$name])) {
$modules[$name] = 0;
Expand Down

0 comments on commit a10faf9

Please sign in to comment.