FIX : transnoentities
This commit is contained in:
parent
f77b6d87c9
commit
5364a5dddf
@ -253,13 +253,13 @@ if (empty($reshook)) {
|
|||||||
if (empty($batch)) {
|
if (empty($batch)) {
|
||||||
$error++;
|
$error++;
|
||||||
$langs->load("errors");
|
$langs->load("errors");
|
||||||
setEventMessages($langs->trans("ErrorTryToMakeMoveOnProductRequiringBatchData", $prod->ref), null, 'errors');
|
setEventMessages($langs->transnoentities("ErrorTryToMakeMoveOnProductRequiringBatchData", $prod->getNomUrl()), null, 'errors');
|
||||||
$action = 'editline';
|
$action = 'editline';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!empty($batch)) {
|
if (!empty($batch)) {
|
||||||
$error++;
|
$error++;
|
||||||
setEventMessages($langs->trans('StockTransferNoBatchForProduct', $prod->getNomUrl()), '', 'errors');
|
setEventMessages($langs->transnoentities('StockTransferNoBatchForProduct', $prod->getNomUrl()), '', 'errors');
|
||||||
$action = 'editline';
|
$action = 'editline';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user