From: Jan Schneider Date: Thu, 21 Oct 2010 19:59:53 +0000 (+0200) Subject: Fix scope. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=40344e746b1655bdafad14bfe72b4e19e6885883;p=horde.git Fix scope. --- 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) {