NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

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

34f6b251
andryyy <[email protected]> 6 years ago
data/web/json_api.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Diff

diff --git a/data/web/json_api.php b/data/web/json_api.php
index 783ba127..c7bea2ba 100644
--- a/data/web/json_api.php
+++ b/data/web/json_api.php
@@ -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)));