diff --git a/module/custom/view/estimate.html.php b/module/custom/view/estimate.html.php
index a22b601039..f1e2daa8ad 100644
--- a/module/custom/view/estimate.html.php
+++ b/module/custom/view/estimate.html.php
@@ -42,15 +42,20 @@ $lang->custom->system[] = 'estimate';
- custom->conceptOptions->hourPoint[0];
- if($unit == 1) echo $lang->custom->unitList['efficiency'] . $lang->custom->conceptOptions->hourPoint[1];
- if($unit == 2) echo $lang->custom->unitList['efficiency'] . $lang->custom->conceptOptions->hourPoint[2];
- ?>
+ custom->conceptOptions->hourPoint[0];
+ }
+ else
+ {
+ echo $lang->custom->unitList['efficiency'] . $lang->custom->conceptOptions->hourPoint[$unit];
+ }
+ ?>
|