Skip to content

Commit

Permalink
fix slt name - see #2765 (#2934)
Browse files Browse the repository at this point in the history
  • Loading branch information
yllen authored and trasher committed Oct 10, 2017
1 parent 6645451 commit a3dc186
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion inc/slalevel.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,10 @@ function showForSLT(SLT $slt) {
echo "</td>";
echo "<td>".(($data["execution_time"] <> 0)
?Html::timestampToString($data["execution_time"], false)
:__('Time to resolve'))."</td>";
: ($slt->fields['type'] == 1
? __('Time to own')
: __('Time to resolve'))).
"</td>";
echo "<td>".Dropdown::getYesNo($data["is_active"])."</td>";
echo "</tr>";

Expand Down

0 comments on commit a3dc186

Please sign in to comment.