mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-24 22:35:58 +02:00
Merge branch 'ent-6036-Error-en-edicion-de-acciones-de-alerta' into 'develop'
fix empty check condition See merge request artica/pandorafms!3359
This commit is contained in:
commit
1ab4e89a14
@ -283,12 +283,12 @@ for ($i = 1; $i <= $config['max_macro_fields']; $i++) {
|
|||||||
// Store the value in a hidden to keep it on first execution
|
// Store the value in a hidden to keep it on first execution
|
||||||
$table->data['field'.$i][1] .= html_print_input_hidden(
|
$table->data['field'.$i][1] .= html_print_input_hidden(
|
||||||
'field'.$i.'_value',
|
'field'.$i.'_value',
|
||||||
!empty($action['field'.$i]) ? $action['field'.$i] : '',
|
(!empty($action['field'.$i]) || $action['field'.$i] == 0) ? $action['field'.$i] : '',
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
$table->data['field'.$i][2] .= html_print_input_hidden(
|
$table->data['field'.$i][2] .= html_print_input_hidden(
|
||||||
'field'.$i.'_recovery_value',
|
'field'.$i.'_recovery_value',
|
||||||
!empty($action['field'.$i.'_recovery']) ? $action['field'.$i.'_recovery'] : '',
|
(!empty($action['field'.$i.'_recovery']) || $action['field'.$i] == 0) ? $action['field'.$i.'_recovery'] : '',
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user