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:
vgilc 2019-12-10 11:49:42 +01:00
commit 418cf73c87
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);