[patch] Oops! New correct patch

"Jason M. Felice" <[email protected]>
Newsgroups gmane.comp.horde.whups
Message-ID <[email protected]>
Ignore the last patch, which missed something.  Here is the new patch which
corrects the 'user:' issue in whups.

-- 
 Jason M. Felice
 Cronosys, LLC <http://www.cronosys.com/>
 216.221.4600 x302


-- 
Whups mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
nag-whups-tickets-fix.diff (text/plain, 996 B)
Index: whups/lib/api.php
===================================================================
RCS file: /repository/whups/lib/api.php,v
retrieving revision 1.44
diff -u -r1.44 api.php
--- whups/lib/api.php	17 Jul 2003 16:42:23 -0000	1.44
+++ whups/lib/api.php	14 Aug 2003 16:29:42 -0000
@@ -141,7 +141,7 @@
     require_once dirname(__FILE__) . '/base.php';
     global $whups;
 
-    $info = array('owner' => Auth::getAuth(),
+    $info = array('owner' => 'user:' . Auth::getAuth(),
                   'nores' => true);
     $tickets = &$whups->getTicketsByProperties($info);
     if (is_a($tickets, 'PEAR_Error')) {
@@ -525,7 +525,7 @@
     case 'taskHash':
         require_once dirname(__FILE__) . '/base.php';
         global $whups;
-        $info = array('owner' => Auth::getAuth(),
+        $info = array('owner' => 'user:' . Auth::getAuth(),
                       'nores' => true);
         $tickets = &$whups->getTicketsByProperties($info);
         if (is_a($tickets, 'PEAR_Error')) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.