Merge branch 'ent-4506-item-de-consola-visual-tipo-line-imborrable-y-problemas-al-colocarlo' into 'develop'
Fixed bug in visual console line item See merge request artica/pandorafms!2885
This commit is contained in:
commit
418cf73c87
|
@ -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…
Reference in New Issue