2014-06-22 Junichi Satoh <junichi@rworks.jp>

* godmode/massive/massive_edit_modules.php: Fixed unexpected update
	of 'module_interval'.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2014-06-22 14:49:33 +00:00
parent bd500a0da9
commit dc1f1bb8c0
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-06-22 Junichi Satoh <junichi@rworks.jp>
* godmode/massive/massive_edit_modules.php: Fixed unexpected update
of 'module_interval'.
2014-06-22 Junichi Satoh <junichi@rworks.jp>
* include/functions_api.php: Added support for 'each_ff' and

View File

@ -926,6 +926,11 @@ function process_manage_edit ($module_name, $agents_select = null) {
$value = get_parameter ($field, '');
switch ($field) {
case 'module_interval':
if ($value != 0) {
$values[$field] = $value;
}
break;
default:
if ($value != '') {
$values[$field] = $value;