瀏覽代碼

Removed pass-by-reference. I think this might break attachment_common.

Tyler Akins 24 年之前
父節點
當前提交
18da02590c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/plugin.php

+ 1 - 1
functions/plugin.php

@@ -37,7 +37,7 @@
          foreach ($squirrelmail_plugin_hooks[$name] as $id => $function) {
             // Add something to set correct gettext domain for plugin
             if (function_exists($function)) {
-                $function(&$Data);
+                $function($Data);
             }
          }
       }