[Web] Fix rspamd_maps function name in API, fixes #3876

master
andryyy 2020-11-29 07:38:28 +01:00
parent ba20db2e08
commit 34f6b25104
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 1 additions and 1 deletions

View File

@ -1550,7 +1550,7 @@ if (isset($_GET['query'])) {
process_edit_return(mailbox('edit', 'alias', array_merge(array('id' => $items), $attr)));
break;
case "rspamd-map":
process_edit_return(rspamd('edit', array_merge(array('map' => $items), $attr)));
process_edit_return(rspamd_maps('edit', array_merge(array('map' => $items), $attr)));
break;
case "fido2-fn":
process_edit_return(fido2(array('action' => 'edit_fn', 'fido2_attrs' => $attr)));