From ffe3a13f3245414e504a2523a48c4d5bab142bc0 Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Thu, 6 Dec 2012 16:35:30 -0400 Subject: [PATCH] BUG 10157 Cuando se configura el Estimated Task Duration del evento no genera el grafico del mismo SOLVED - El factor de conversion estaba siendo redoendado solo a 2 decimales - Ahora se redondea a 5 decimales --- workflow/engine/methods/events/eventsSetupGraph.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/methods/events/eventsSetupGraph.php b/workflow/engine/methods/events/eventsSetupGraph.php index 50433338b..00f57d2b0 100755 --- a/workflow/engine/methods/events/eventsSetupGraph.php +++ b/workflow/engine/methods/events/eventsSetupGraph.php @@ -26,7 +26,7 @@ $timeunit = isset( $_GET['t'] ) ? $_GET['t'] : 'Days'; $timeunit = ucfirst( strtolower( $timeunit ) ); //estimated -$estimated = abs( isset( $_GET['e'] ) ? (($timeunit == 'Hours') ? round( $_GET['e'] / 24, 2 ) : $_GET['e']) : '1' ); +$estimated = abs( isset( $_GET['e'] ) ? (($timeunit == 'Hours') ? round( $_GET['e'] / 24, 5 ) : $_GET['e']) : '1' ); //when $when = isset( $_GET['w'] ) ? $_GET['w'] : '0';