mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed bug in visual console line item
This commit is contained in:
parent
cfdb5330ae
commit
607c26529d
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user