From 46180bb6340af73218ea99ace7ce34b2f133dd86 Mon Sep 17 00:00:00 2001 From: Jennifer Hodgdon Date: Sat, 15 Mar 2014 05:52:00 -0700 Subject: Issue #2215877 by asrob: Fix function signature for hook_ajax_render_alter() --- modules/system/system.api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system') diff --git a/modules/system/system.api.php b/modules/system/system.api.php index f54078b6d..fbcb17348 100644 --- a/modules/system/system.api.php +++ b/modules/system/system.api.php @@ -875,7 +875,7 @@ function hook_css_alter(&$css) { * * @see ajax_render() */ -function hook_ajax_render_alter($commands) { +function hook_ajax_render_alter(&$commands) { // Inject any new status messages into the content area. $commands[] = ajax_command_prepend('#block-system-main .content', theme('status_messages')); } -- cgit v1.2.3