[Jaws-commits] r13334 - trunk/jaws/html/gadgets/Contact

afz at jaws-project.com afz at jaws-project.com
Thu Aug 9 12:45:32 UTC 2012


Author: afz
Date: 2012-08-09 12:45:31 +0000 (Thu, 09 Aug 2012)
New Revision: 13334

Modified:
   trunk/jaws/html/gadgets/Contact/AdminHTML.php
Log:
[Contact]: compatible with new changes in Jaws_User class

Modified: trunk/jaws/html/gadgets/Contact/AdminHTML.php
===================================================================
--- trunk/jaws/html/gadgets/Contact/AdminHTML.php	2012-08-09 12:45:20 UTC (rev 13333)
+++ trunk/jaws/html/gadgets/Contact/AdminHTML.php	2012-08-09 12:45:31 UTC (rev 13334)
@@ -974,7 +974,7 @@
             require_once JAWS_PATH . 'include/Jaws/User.php';
             $userModel = new Jaws_User();
             if ($target['user'] != 0) {
-                $user = $userModel->GetUserInfoById($target['user']);
+                $user = $userModel->GetUser((int)$target['user']);
                 if (!Jaws_Error::IsError($user)) {
                     $mail->AddRecipient($user['nickname'] . ' <' . $user['email'] . '>', 'To');
                 }



More information about the Jaws-commits mailing list