fix variable name
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 10 Feb 2010 18:22:58 +0000 (13:22 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 10 Feb 2010 18:22:58 +0000 (13:22 -0500)
framework/Notification/lib/Horde/Notification/Event.php

index 3d83053..b75664d 100644 (file)
@@ -47,7 +47,7 @@ class Horde_Notification_Event
 
         if ($data instanceof PEAR_Error) {
             // DEPRECATED
-            if (($userinfo = $ob->getUserInfo()) &&
+            if (($userinfo = $data->getUserInfo()) &&
                   is_array($userinfo)) {
                 $userinfo_elts = array();
                 foreach ($userinfo as $userinfo_elt) {