Verified Commit 73e7b7fb authored by dockx thibault's avatar dockx thibault
Browse files

:sparkles: Feat(ihtml) - adapts to php 82

Adapt ihtml classes to php 82
No related merge requests found
Showing with 3 additions and 3 deletions
+3 -3
...@@ -50,15 +50,15 @@ if (isset($_GET['type']) && $_GET['type'] == "base") { ...@@ -50,15 +50,15 @@ if (isset($_GET['type']) && $_GET['type'] == "base") {
if (!isset($pathMapping[$dn])) { if (!isset($pathMapping[$dn])) {
continue; continue;
} }
if (mb_stristr((string) $info['name'], $search) !== FALSE) { if (mb_stristr((string) $info['name'], (string) $search) !== FALSE) {
$res .= "<li>".mark($search, $pathMapping[$dn]).($info['description'] == '' ? "" : "<span class='informal'> [".mark($search, $info['description'])."]</span>")."</li>"; $res .= "<li>".mark($search, $pathMapping[$dn]).($info['description'] == '' ? "" : "<span class='informal'> [".mark($search, $info['description'])."]</span>")."</li>";
continue; continue;
} }
if (mb_stristr((string) $info['description'], $search) !== FALSE) { if (mb_stristr((string) $info['description'], (string) $search) !== FALSE) {
$res .= "<li>".mark($search, $pathMapping[$dn]).($info['description'] == '' ? "" : "<span class='informal'> [".mark($search, $info['description'])."]</span>")."</li>"; $res .= "<li>".mark($search, $pathMapping[$dn]).($info['description'] == '' ? "" : "<span class='informal'> [".mark($search, $info['description'])."]</span>")."</li>";
continue; continue;
} }
if (mb_stristr($pathMapping[$dn], $search) !== FALSE) { if (mb_stristr($pathMapping[$dn], (string) $search) !== FALSE) {
$res .= "<li>".mark($search, $pathMapping[$dn]).($info['description'] == '' ? "" : "<span class='informal'> [".mark($search, $info['description'])."]</span>")."</li>"; $res .= "<li>".mark($search, $pathMapping[$dn]).($info['description'] == '' ? "" : "<span class='informal'> [".mark($search, $info['description'])."]</span>")."</li>";
continue; continue;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment