[whups] [patch] Oops! New correct patch

Jason M. Felice jfelice at cronosys.com
Thu Aug 14 09:31:31 PDT 2003


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
-------------- next part --------------
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')) {


More information about the whups mailing list