From: Michael J. Rubinsky Date: Sun, 15 Aug 2010 16:18:28 +0000 (-0400) Subject: fix scope X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=71a637d8c66ac8829c0e717e2babbcbae4baa4a5;p=horde.git fix scope --- diff --git a/whups/lib/Whups.php b/whups/lib/Whups.php index 596b7b933..ebbe76d06 100644 --- a/whups/lib/Whups.php +++ b/whups/lib/Whups.php @@ -261,7 +261,7 @@ class Whups { $id = preg_replace('|\D|', '', Horde_Util::getFormData('id')); if (!$id) { $GLOBALS['notification']->push(_("Invalid Ticket Id"), 'horde.error'); - Horde::applicationUrl($prefs->getValue('whups_default_view') . '.php', true) + Horde::applicationUrl($GLOBALS['prefs']->getValue('whups_default_view') . '.php', true) ->redirect(); } @@ -273,7 +273,7 @@ class Whups { } else { $GLOBALS['notification']->push($ticket->getMessage(), 'horde.error'); } - Horde::applicationUrl($prefs->getValue('whups_default_view') . '.php', true) + Horde::applicationUrl($GLOBALS['prefs']->getValue('whups_default_view') . '.php', true) ->redirect(); }