Skip to content

Commit

Permalink
Remove extraneous & for call by reference in document upload plugin. …
Browse files Browse the repository at this point in the history
…Call by reference should be handled in the function signature, not a runtime.
  • Loading branch information
yehster committed Apr 10, 2014
1 parent abbce12 commit c5d7b23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/C_Document.class.php
Expand Up @@ -161,7 +161,7 @@ function upload_action_process() {
}
$upload_plugin_pp = 'documentUploadPostProcess';
if (function_exists($upload_plugin_pp)) {
$tmp = call_user_func($upload_plugin_pp, $value, &$d);
$tmp = call_user_func($upload_plugin_pp, $value, $d);
if ($tmp) {
$error = $tmp;
}
Expand Down

0 comments on commit c5d7b23

Please sign in to comment.