2
0
forked from Wavyzz/dolibarr

Update functions.lib.php

This commit is contained in:
Zephyriony
2024-03-16 00:36:43 +01:00
committed by GitHub
parent cd47aa1aad
commit 82dc53e796

View File

@@ -13936,15 +13936,15 @@ function recordNotFound($message = '', $printheader = 1, $printfooter = 1, $show
$langs->setDefaultLang();
}
$langs->load("errors");
$langs->load("errors");
if ($printheader) {
if (function_exists("llxHeader")) {
llxHeader('');
} elseif (function_exists("llxHeaderVierge")) {
llxHeaderVierge('');
}
}
if ($printheader) {
if (function_exists("llxHeader")) {
llxHeader('');
} elseif (function_exists("llxHeaderVierge")) {
llxHeaderVierge('');
}
}
print '<div class="error">';
if (empty($message)) {