Fixed errors for oracle databases
This commit is contained in:
parent
c437797ef7
commit
e5685dfe07
|
@ -105,8 +105,8 @@ if ($create_alert) {
|
|||
|
||||
if ($action_select != 0) {
|
||||
$values = array();
|
||||
$values['fires_min'] = get_parameter ('fires_min');
|
||||
$values['fires_max'] = get_parameter ('fires_max');
|
||||
$values['fires_min'] = (int) get_parameter ('fires_min');
|
||||
$values['fires_max'] = (int) get_parameter ('fires_max');
|
||||
$values['module_action_threshold'] =
|
||||
(int)get_parameter ('module_action_threshold');
|
||||
|
||||
|
|
|
@ -60,8 +60,8 @@ if ($add) {
|
|||
ui_print_result_message (false, '', __('Could not be added').". ".__('No agents selected'));
|
||||
else {
|
||||
$actions = get_parameter ('action');
|
||||
$fires_min = get_parameter ('fires_min');
|
||||
$fires_max = get_parameter ('fires_max');
|
||||
$fires_min = (int) get_parameter ('fires_min');
|
||||
$fires_max = (int) get_parameter ('fires_max');
|
||||
|
||||
if (!empty($actions)) {
|
||||
$agent_alerts = agents_get_alerts($id_agents);
|
||||
|
|
Loading…
Reference in New Issue