Skip to content
Snippets Groups Projects
Commit 15d0e6ab authored by Marcos García de La Fuente's avatar Marcos García de La Fuente
Browse files

Corrected bug where product multiprices admin page would not render properly...

Corrected bug where product multiprices admin page would not render properly due to a PHP fatal error
parent 3ff456d8
No related branches found
No related tags found
No related merge requests found
...@@ -155,7 +155,6 @@ $genPriceOptions = function($level) use ($price_options) { ...@@ -155,7 +155,6 @@ $genPriceOptions = function($level) use ($price_options) {
return $return; return $return;
}; };
?> ?>
<table class="noborder"> <table class="noborder">
...@@ -173,7 +172,8 @@ $genPriceOptions = function($level) use ($price_options) { ...@@ -173,7 +172,8 @@ $genPriceOptions = function($level) use ($price_options) {
<td class="fieldrequired" style="text-align: center"><?php <td class="fieldrequired" style="text-align: center"><?php
echo $langs->trans('SellingPrice').' '.$i; echo $langs->trans('SellingPrice').' '.$i;
// Label of price // Label of price
if (! empty($conf->global->{"PRODUIT_MULTIPRICES_LABEL$i"})) { $keyforlabel='PRODUIT_MULTIPRICES_LABEL'.$i;
if (! empty($conf->global->$keyforlabel)) {
print ' - '.$langs->trans($conf->global->$keyforlabel); print ' - '.$langs->trans($conf->global->$keyforlabel);
} }
?> ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment