fixed problems with show data in forms

This commit is contained in:
m-lopez-f 2015-11-10 08:50:56 +01:00
parent c1db7d96f9
commit 494ae94cd9
1 changed files with 1 additions and 21 deletions

View File

@ -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 = "<span " .