X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Ffilters%2Ffilters.php;h=5259d1bb6eab19f8af377af0663037369e8dbb6d;hb=f5ab1fb9847b950959856571801dcb63381cb2e4;hp=1550fa541d299dd9b79a4affe52ca55408d8db99;hpb=17368f85891f2cb3ef047e9fe20b95d4b4bc3a60;p=squirrelmail.git diff --git a/plugins/filters/filters.php b/plugins/filters/filters.php index 1550fa54..5259d1bb 100644 --- a/plugins/filters/filters.php +++ b/plugins/filters/filters.php @@ -707,7 +707,10 @@ function filter_swap($id1, $id2) { /* This update the filter rules when renaming or deleting folders */ -function update_for_folder ($old_folder, $action, $new_folder = 'INBOX') { +function update_for_folder ($args) { + $old_folder = $args[0]; + $new_folder = $args[2]; + $action = $args[1]; global $plugins, $data_dir, $username; $filters = array(); $filters = load_filters();