Commit 2b696779 authored by webchick's avatar webchick

Issue #2173171 by alexpott: Core PHPUnit test AjaxCommandsTest fails on PHP 5.4.

parent 1415f2ad
......@@ -185,7 +185,7 @@ function &drupal_static($key) {
// @todo Remove once drupal_render is converted to autoloadable code.
if (!function_exists('drupal_render')) {
function drupal_render($array) {
return isset($array['#markup']) ? $array['#markup'] : (string) $array;
return isset($array['#markup']) ? $array['#markup'] : '';
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment