This commit is contained in:
ldestailleur
2025-04-08 22:33:15 +02:00
parent 6b11ed0187
commit 4f9e17e95a
2 changed files with 6 additions and 2 deletions

View File

@@ -41,6 +41,8 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/menubase.class.php';
* @var int $heightforframes
*/
/** @phan-file-suppress PhanUndeclaredGlobalVariable */
// Load translation files required by the page
$langs->load("other");
@@ -105,7 +107,6 @@ if ($keyforcontent) {
} else {
if (preg_match('/^\//', $menu->url) || preg_match('/^http/i', $menu->url)) {
// menu->url is an URL starting with http or /
// @phan-suppress PhanUndeclaredMethod
print "
<html>
<head>