mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Fixed problems with format of text in visual console. Ticket: 4013
This commit is contained in:
parent
b1b605018f
commit
92347901b3
@ -1147,6 +1147,10 @@ function visual_map_get_simple_value($type, $id_module, $period = SECONDS_1DAY)
|
||||
$value .= " " . $unit_text;
|
||||
}
|
||||
}
|
||||
|
||||
$value = preg_replace ('/\n/i','<br>',$value);
|
||||
$value = preg_replace ('/\s/i',' ',$value);
|
||||
|
||||
return $value;
|
||||
break;
|
||||
case SIMPLE_VALUE_MAX:
|
||||
|
Loading…
x
Reference in New Issue
Block a user