Pārlūkot izejas kodu

Fix for updating the filters rules when a folder is renamed.

Jimmy Conner 20 gadi atpakaļ
vecāks
revīzija
0ee6ad0dd0
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      plugins/filters/setup.php

+ 2 - 2
plugins/filters/setup.php

@@ -52,9 +52,9 @@ function start_filters_hook($args) {
  * Called by hook to Update filters when Folders Change
  * Called by hook to Update filters when Folders Change
  * @access private
  * @access private
  */
  */
-function update_for_folder_hook() {
+function update_for_folder_hook($args) {
     include_once(SM_PATH . 'plugins/filters/filters.php');
     include_once(SM_PATH . 'plugins/filters/filters.php');
-    update_for_folder ();
+    update_for_folder ($args);
 }
 }
 
 
 ?>
 ?>