forked from Wavyzz/dolibarr
Update functions.lib.php
This commit is contained in:
@@ -13936,15 +13936,15 @@ function recordNotFound($message = '', $printheader = 1, $printfooter = 1, $show
|
|||||||
$langs->setDefaultLang();
|
$langs->setDefaultLang();
|
||||||
}
|
}
|
||||||
|
|
||||||
$langs->load("errors");
|
$langs->load("errors");
|
||||||
|
|
||||||
if ($printheader) {
|
if ($printheader) {
|
||||||
if (function_exists("llxHeader")) {
|
if (function_exists("llxHeader")) {
|
||||||
llxHeader('');
|
llxHeader('');
|
||||||
} elseif (function_exists("llxHeaderVierge")) {
|
} elseif (function_exists("llxHeaderVierge")) {
|
||||||
llxHeaderVierge('');
|
llxHeaderVierge('');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print '<div class="error">';
|
print '<div class="error">';
|
||||||
if (empty($message)) {
|
if (empty($message)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user