Need to assign this instance to a variable.
authorChuck Hagenbuch <chuck@horde.org>
Thu, 5 Aug 2010 14:49:35 +0000 (10:49 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Thu, 5 Aug 2010 14:49:35 +0000 (10:49 -0400)
nag/lib/Api.php

index 6f192a1..203b5dd 100644 (file)
@@ -1454,7 +1454,7 @@ class Nag_Api extends Horde_Registry_Api
                 $users = array($user);
             }
             foreach ($users as $alarm_user) {
-                $GLOBALS['injector']->getInstance('Horde_Prefs')->getPrefs('nag', array(
+                $prefs = $GLOBALS['injector']->getInstance('Horde_Prefs')->getPrefs('nag', array(
                     'cache' => false,
                     'user' => $alarm_user
                 ));