Skip to content

Commit

Permalink
Corrected bug where product multiprices admin page would not render p…
Browse files Browse the repository at this point in the history
…roperly due to a PHP fatal error
  • Loading branch information
marcosgdf committed Mar 13, 2017
1 parent 3ff456d commit 15d0e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions htdocs/product/admin/price_rules.php
Expand Up @@ -155,7 +155,6 @@

return $return;
};

?>

<table class="noborder">
Expand All @@ -173,7 +172,8 @@
<td class="fieldrequired" style="text-align: center"><?php
echo $langs->trans('SellingPrice').' '.$i;
// 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);
}
?>
Expand Down

0 comments on commit 15d0e6a

Please sign in to comment.