Fix for updating the filters rules when a folder is renamed.
authorcigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 14 Apr 2005 15:33:07 +0000 (15:33 +0000)
committercigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 14 Apr 2005 15:33:07 +0000 (15:33 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@9270 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/filters/setup.php

index f3ed928..318ca68 100644 (file)
@@ -52,9 +52,9 @@ function start_filters_hook($args) {
  * Called by hook to Update filters when Folders Change
  * @access private
  */
-function update_for_folder_hook() {
+function update_for_folder_hook($args) {
     include_once(SM_PATH . 'plugins/filters/filters.php');
-    update_for_folder ();
+    update_for_folder ($args);
 }
 
 ?>
\ No newline at end of file