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 20ccf4c39c2c0d196cf189af3e551c3832fa7554..9e155e6e653dbe3ff3bedc24649c797dc9d7e3fa 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)) {
         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);
             }
         }
     }
             }
         }
     }