mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fixed problems with print data in view
This commit is contained in:
parent
c0ca789e76
commit
63838760cb
@ -1292,6 +1292,10 @@ foreach ($result as $row) {
|
||||
|
||||
$sub_string = substr(io_safe_output($row["datos"]), 0, 12);
|
||||
if ($module_value == $sub_string) {
|
||||
if ($module_value == 0 && !$sub_string) {
|
||||
$salida = 0;
|
||||
}
|
||||
else {
|
||||
$intDays = $module_value / 8640000;
|
||||
$dias = $intDays - (integer)$intDays;
|
||||
$intDays = (integer)$intDays;
|
||||
@ -1313,6 +1317,7 @@ foreach ($result as $row) {
|
||||
$salida = $module_value;
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
//Fixed the goliat sends the strings from web
|
||||
//without HTML entities
|
||||
|
Loading…
x
Reference in New Issue
Block a user