2011-11-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* godmode/alerts/configure_alert_template.php: Fixed template 
	update. Thank you to Manuel Arostegui for the patch!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2011-11-22 12:49:24 +00:00
parent f260ae4bd7
commit b0eb26a8c8
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2011-11-22 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* godmode/alerts/configure_alert_template.php: Fixed template
update. Thank you to Manuel Arostegui for the patch!
2011-11-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es> 2011-11-17 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* operation/snmpconsole/snmp_view.php: Added new free search and * operation/snmpconsole/snmp_view.php: Added new free search and

View File

@ -190,12 +190,7 @@ function update_template ($step) {
'matches_value' => $matches, 'matches_value' => $matches,
'priority' => $priority); 'priority' => $priority);
if (!$name || $name_check) { $result = alerts_update_alert_template ($id,$values);
$result = '';
}
else {
$result = alerts_update_alert_template ($id,$values);
}
} }
elseif ($step == 2) { elseif ($step == 2) {
$monday = (bool) get_parameter ('monday'); $monday = (bool) get_parameter ('monday');