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