summarylogtreecommitdiffstats
path: root/hosting-hook_hosting_TASK_OBJECT_context_options-2846897-2.patch
blob: 977834aa0f9fef745a208a94a6dfbaf01ffc9781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/task.hosting.inc b/task.hosting.inc
index 2c393ce..01c5a90 100644
--- a/task.hosting.inc
+++ b/task.hosting.inc
@@ -127,7 +127,7 @@ function drush_hosting_task() {
     $hook = 'hosting_' . $task->ref->type . '_context_options';
     foreach (module_implements($hook) as $module) {
       $function = $module . '_' . $hook;
-      call_user_func($function, $task);
+      call_user_func_array($function, array(&$task));
     }
 
     drush_invoke_process('@none', 'provision-save', array('@' . $task->ref->hosting_name), $task->context_options, array('method' => $mode, 'integrate' => TRUE));