From 7a75b36727c8284cd73edf94bc0ed792af25e91d Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 4 Jan 2011 17:47:33 +0100 Subject: [PATCH] Fix scope. --- chora/lib/Chora.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chora/lib/Chora.php b/chora/lib/Chora.php index 24276c6a6..c874cbb63 100644 --- a/chora/lib/Chora.php +++ b/chora/lib/Chora.php @@ -89,7 +89,7 @@ class Chora } $GLOBALS['notification']->push($message, 'horde.error'); - require $registry->get('templates', 'horde') . '/common-header.inc'; + require $GLOBALS['registry']->get('templates', 'horde') . '/common-header.inc'; require CHORA_TEMPLATES . '/menu.inc'; require $GLOBALS['registry']->get('templates', 'horde') . '/common-footer.inc'; exit; -- 2.11.0