* Now this sends $plugin_general_debug to the plugins too. If the plugins
[squirrelmail.git] / functions / plugin.php
index 4b86b769824c00d8d8f76abce5745e87025edab4..34cb4bd6d1ecb958916fba9533adf0d8e2e35f46 100644 (file)
@@ -32,7 +32,7 @@
         {
            if ($plugin_general_debug)
               echo "plugin:  ---- Executing $function to init plugin<br>\n";
-            $function();
+            $function($plugin_general_debug);
         }
         elseif ($plugin_general_debug)
            echo "plugin:  -- Init function $function doesn't exist.<br>\n";