Преглед изворни кода

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);
             }
          }
       }