From 40344e746b1655bdafad14bfe72b4e19e6885883 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 21 Oct 2010 21:59:53 +0200 Subject: [PATCH] Fix scope. --- whups/ticket/type.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whups/ticket/type.php b/whups/ticket/type.php index 1a6df2c12..40609c2d9 100644 --- a/whups/ticket/type.php +++ b/whups/ticket/type.php @@ -28,7 +28,7 @@ class SetTypeStep1Form extends Horde_Form { $this->addVariable(_("Comment"), 'newcomment', 'longtext', false); /* Group restrictions. */ - $groups = $injector->getInstance('Horde_Group'); + $groups = $GLOBALS['injector']->getInstance('Horde_Group'); $mygroups = $groups->getGroupMemberships($GLOBALS['registry']->getAuth()); if ($mygroups) { foreach (array_keys($mygroups) as $gid) { -- 2.11.0