From: Paul L. <pdo...@us...> - 2006-12-10 20:11:45
|
Update of /cvsroot/squirrelmail/squirrelmail/functions In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv28465/functions Modified Files: plugin.php Log Message: Revert last commit; passing by reference like that causes deprecation PHP notices in PHP4. It is the responsibility of the receiving plugin to accept the args by reference if it intends to change its value. Index: plugin.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/functions/plugin.php,v retrieving revision 1.64 retrieving revision 1.65 diff -u -w -r1.64 -r1.65 --- plugin.php 10 Dec 2006 19:37:11 -0000 1.64 +++ plugin.php 10 Dec 2006 20:11:29 -0000 1.65 @@ -80,7 +80,7 @@ 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); } } } |