task priority list patch

Paul Cooper pgc@ucecom.com
Mon, 10 Dec 2001 20:40:52 -0500


---------------------- multipart/mixed attachment
Looks like priorities changed in nag cvs - here's a patch to Nag.php to 
fix the output.

Paul

-- 
-----------------------------------------------------------------
Paul Cooper                             |  Tel: 0121 331 7858
Senior Programmer and Database Engineer |  Fax: 0121 331 7859
UCEcom                                  |  mailto:pgc@ucecom.com
University of Central England           |  http://www.ucecom.com
Birmingham, B4 7DX                      |
-----------------------------------------------------------------

---------------------- multipart/mixed attachment
Index: Nag.php
===================================================================
RCS file: /repository/nag/lib/Nag.php,v
retrieving revision 1.35
diff -u -r1.35 Nag.php
--- Nag.php	10 Dec 2001 16:49:01 -0000	1.35
+++ Nag.php	10 Dec 2001 20:27:00 -0000
@@ -272,7 +272,7 @@
         for ($priority = 1; $priority <= 5; $priority++) {
             $html .= "<option value=\"$priority\"";
             $html .= ($priority == $selected) ? ' selected="selected">' : '>';
-            $html .= $name . '</option>';
+            $html .= $priority . '</option>';
         }
         $html .= "</select>\n";
 

---------------------- multipart/mixed attachment--