Merge pull request #1062 from julceslauhub/master

BUG 10157 Cuando se configura el Estimated Task Duration del evento no genera el grafico del mismo SOLVED
This commit is contained in:
julceslauhub
2012-12-06 12:36:59 -08:00

View File

@@ -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';