From 494ae94cd934dda95ad2d78ecf05a9644c0a2c12 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 10 Nov 2015 08:50:56 +0100 Subject: [PATCH] fixed problems with show data in forms --- pandora_console/include/ajax/module.php | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index 8ec308a3e4..87d313ef0c 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -982,27 +982,7 @@ if ($list_modules) { if ($module_value == $sub_string) { - $intDays = $module_value / 8640000; - $dias = $intDays - (integer)$intDays; - $intDays = (integer)$intDays; - - $intHours = $dias * 24; - $Hours = $intHours - (integer)$intHours; - $intHours = (integer)$intHours; - - $intMinutes = $Hours * 60; - $minutos = $intMinutes - (integer)$intMinutes; - $intMinutes = (integer)$intMinutes; - - $intSeconds = $minutos * 60; - $ConvertSeconds = $intDays . " Days - ". $intHours ." Hours - ". $intMinutes . " Mins"; - - if ($ConvertSeconds) { - $salida = $ConvertSeconds; - } - else { - $salida = $module_value; - } + $salida = $module["datos"]; } else { $salida = "