diff --git a/module/execution/view/storyestimate.html.php b/module/execution/view/storyestimate.html.php
index 6dd16183d4..0447371093 100644
--- a/module/execution/view/storyestimate.html.php
+++ b/module/execution/view/storyestimate.html.php
@@ -54,7 +54,7 @@
account);?> |
account, "class='form-control'");?>
estimate)):?>
- estimate->{$user->account}) ? $estimateInfo->estimate->{$user->account}->estimate : '';?> |
+ estimate->{$user->account}) ? $estimateInfo->estimate->{$user->account}->estimate : '';?> |
|
|
diff --git a/module/story/model.php b/module/story/model.php
index 6209f72b10..2ab5feeae3 100644
--- a/module/story/model.php
+++ b/module/story/model.php
@@ -4165,7 +4165,7 @@ class storyModel extends model
dao::$errors[] = $this->lang->story->estimateMustBePlus;
return false;
}
- $estimates[$account]['estimate'] = (int)$data->estimate[$key];
+ $estimates[$account]['estimate'] = strpos($data->estimate[$key], '-') !== false ? (int)$data->estimate[$key] : $data->estimate[$key];
}