Skip to content

Commit

Permalink
Fix measuring_units_string display function
Browse files Browse the repository at this point in the history
  • Loading branch information
ptibogxiv committed Jun 13, 2019
1 parent 7e1eacb commit b13b089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/lib/product.lib.php
Expand Up @@ -494,7 +494,7 @@ function measuring_units_string($unit, $measuring_style = '')
require_once DOL_DOCUMENT_ROOT.'/core/class/cunits.class.php';
$measuringUnits= new CUnits($db);
$result = $measuringUnits->fetchAll('', '', 0, 0, array(
't.code' => $unit,
't.rowid => $unit,
't.unit_type' => $measuring_style,
't.active' => 1
));
Expand Down

0 comments on commit b13b089

Please sign in to comment.