summaryrefslogtreecommitdiffstats
path: root/page_manager/page_manager.module
diff options
context:
space:
mode:
Diffstat (limited to 'page_manager/page_manager.module')
-rw-r--r--page_manager/page_manager.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/page_manager/page_manager.module b/page_manager/page_manager.module
index e069876..97a9ac3 100644
--- a/page_manager/page_manager.module
+++ b/page_manager/page_manager.module
@@ -356,7 +356,7 @@ function page_manager_handler_get_name($task_name, $handlers, $handler) {
* This is used by both import and clone, since clone just exports the
* handler and immediately imports it.
*/
-function page_manager_handler_add_to_page(&$page, $handler, $title = NULL) {
+function page_manager_handler_add_to_page(&$page, &$handler, $title = NULL) {
$last = end($page->handler_info);
$handler->weight = $last ? $last['weight'] + 1 : 0;
$handler->task = $page->task_id;