Fixed bug in visual console line item

This commit is contained in:
manuel 2019-11-14 09:51:49 +01:00
parent cfdb5330ae
commit 607c26529d
1 changed files with 4 additions and 0 deletions

View File

@ -89,6 +89,10 @@ $type = get_parameter('type');
$id_element = get_parameter('id_element', null); $id_element = get_parameter('id_element', null);
if (!is_numeric($id_element)) {
$id_element = intval(preg_replace('/[^0-9]+/', '', $id_element), 10);
}
$image = get_parameter('image', null); $image = get_parameter('image', null);
$background = get_parameter('background', null); $background = get_parameter('background', null);
$background_color = get_parameter('background_color', null); $background_color = get_parameter('background_color', null);