From 4621e01d93d9fbbd83b21eee3797e6262927917f Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Tue, 6 Aug 2013 23:50:28 -0700 Subject: [PATCH] Issue #2010982 by somepal, andypost, pplantinga | Samvel: Replace theme() with drupal_render() in system module for system_status(). --- .../lib/Drupal/system/Controller/SystemInfoController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/system/lib/Drupal/system/Controller/SystemInfoController.php b/core/modules/system/lib/Drupal/system/Controller/SystemInfoController.php index af48c1fddba0..c34efad47286 100644 --- a/core/modules/system/lib/Drupal/system/Controller/SystemInfoController.php +++ b/core/modules/system/lib/Drupal/system/Controller/SystemInfoController.php @@ -53,7 +53,7 @@ public function __construct(SystemManager $systemManager) { public function status() { $requirements = $this->systemManager->listRequirements(); $this->systemManager->fixAnonymousUid(); - return theme('status_report', array('requirements' => $requirements)); + return array('#theme' => 'status_report', '#requirements' => $requirements); } /** -- GitLab