Update modules code with small fixes and improvements

This commit is contained in:
Marc Alexander committed 2023-02-13 20:24:54 +01:00
1 parent ccd7e27410
commit 46a9e89db2
17 files changed
+64 -59

No files matched your search

+2 -2
View File
@@ -299,7 +299,7 @@ class links extends module_base
$links[$link_id] = array(
'title' => $link_title,
'url' => htmlspecialchars_decode($link_url),
'url' => htmlentities($link_url, ENT_QUOTES | ENT_SUBSTITUTE),
'type' => $link_type,
'permission' => $link_permissions,
);
@@ -312,7 +312,7 @@ class links extends module_base
$links[] = array(
'title' => $link_title,
'url' => htmlspecialchars_decode($link_url),
'url' => htmlentities($link_url, ENT_QUOTES | ENT_SUBSTITUTE),
'type' => $link_type,
'permission' => $link_permissions,
);