From 75fe9014dd725b897f8e5a9a0b21e836731a9852 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 11 Dec 2010 18:32:59 -0500 Subject: [PATCH] Fix scope --- ansel/lib/View/GalleryProperties.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansel/lib/View/GalleryProperties.php b/ansel/lib/View/GalleryProperties.php index c990926f0..90e327f13 100644 --- a/ansel/lib/View/GalleryProperties.php +++ b/ansel/lib/View/GalleryProperties.php @@ -117,7 +117,7 @@ class Ansel_View_GalleryProperties 'slug' => $this->_properties['slug'] )); - require $registry->get('templates', 'horde') . '/common-header.inc'; + require $GLOBALS['registry']->get('templates', 'horde') . '/common-header.inc'; echo Horde::menu(); $GLOBALS['notification']->notify(array('listeners' => 'status')); echo $view->render('properties'); -- 2.11.0