removed useless variable

This commit is contained in:
Cédric Salvador 2013-07-02 18:32:50 +02:00
parent a607cb677d
commit 3df097695d

View File

@ -461,8 +461,7 @@ if ($resql) {
$warning='';
if ($objp->seuil_stock_alerte
&& ($stock < $objp->seuil_stock_alerte)) {
$warn = $langs->trans('StockTooLow');
$warning = img_warning($warn) . ' ';
$warning = img_warning($langs->trans('StockTooLow')) . ' ';
}
//depending on conf, use either physical stock or
//virtual stock to compute the stock to buy value