Skip to content

Commit

Permalink
Merge pull request #6519 from marcosgdf/bug-multiprices
Browse files Browse the repository at this point in the history
FIX Corrected bug where product multiprices admin page would not render properly due to a PHP fatal error
  • Loading branch information
eldy committed Mar 14, 2017
2 parents 9e7230e + 15d0e6a commit 9827887
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 9827887

Please sign in to comment.