diff --git a/core/modules/system/system.admin.inc b/core/modules/system/system.admin.inc index a2b7926..acf510d 100644 --- a/core/modules/system/system.admin.inc +++ b/core/modules/system/system.admin.inc @@ -1304,7 +1304,12 @@ function system_status($check = FALSE) { ->condition('pass', '') ->condition('status', 0) ->execute(); - return theme('status_report', array('requirements' => $requirements)); + $status_report = array('#theme' => 'status_report'); + foreach($requirements as $key => $value) + { + $status_report['#'.$key] = $value; + } + return drupal_render($status_report); } /** @@ -1556,14 +1561,16 @@ function theme_status_report($variables) { $severity['icon'] = '