Browse Source

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

Tyler Akins 24 năm trước cách đây
mục cha
commit
18da02590c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      functions/plugin.php

+ 1 - 1
functions/plugin.php

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