Skip to content
Snippets Groups Projects
Commit d16b1e67 authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge pull request #2195 from nimamo/patch-1


Pass data to the callabale by reference

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents 69f801b4 18dbd60f
No related branches found
Tags v1.9.11
No related merge requests found
...@@ -95,7 +95,7 @@ class Signal { ...@@ -95,7 +95,7 @@ class Signal {
continue; continue;
elseif ($check && !call_user_func_array($check, array($object, $data))) elseif ($check && !call_user_func_array($check, array($object, $data)))
continue; continue;
call_user_func_array($callable, array($object, $data)); call_user_func_array($callable, array($object, &$data));
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment