Fix scope
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 11 Dec 2010 23:32:59 +0000 (18:32 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 11 Dec 2010 23:32:59 +0000 (18:32 -0500)
ansel/lib/View/GalleryProperties.php

index c990926..90e327f 100644 (file)
@@ -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');