Revert last commit; passing by reference like that causes deprecation PHP notices...
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 10 Dec 2006 20:11:29 +0000 (20:11 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 10 Dec 2006 20:11:29 +0000 (20:11 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11995 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/plugin.php

index 20ccf4c..9e155e6 100644 (file)
@@ -80,7 +80,7 @@ function do_hook($name, &$args) {
         foreach ($squirrelmail_plugin_hooks[$name] as $plugin_name => $function) {
             use_plugin($plugin_name);
             if (function_exists($function)) {
-                $ret = $function(&$args, $ret);
+                $ret = $function($args, $ret);
             }
         }
     }