[Fusionforge-commits] r8657 - trunk/gforge/www/tracker

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sat Jan 9 09:59:07 CET 2010


Author: aljeux
Date: 2010-01-09 09:59:07 +0100 (Sat, 09 Jan 2010)
New Revision: 8657

Modified:
   trunk/gforge/www/tracker/tracker.php
Log:
Use getIntFromRequest when an integer is expected

Modified: trunk/gforge/www/tracker/tracker.php
===================================================================
--- trunk/gforge/www/tracker/tracker.php	2010-01-09 08:59:02 UTC (rev 8656)
+++ trunk/gforge/www/tracker/tracker.php	2010-01-09 08:59:07 UTC (rev 8657)
@@ -520,12 +520,12 @@
 			break;
 		}
 		case 'download' : {
-			$aid = getStringFromRequest('aid');
+			$aid = getIntFromRequest('aid');
 			Header("Redirect: ".util_make_url ("/tracker/download.php?group_id=$group_id&atid=$atid&aid=$aid&file_id=$file_id"));
 			break;
 		}
 		case 'detail' : {
-			$aid = getStringFromRequest('aid');
+			$aid = getIntFromRequest('aid');
 
 			//
 			//	users can modify their own tickets in a limited way if they submitted them




More information about the Fusionforge-commits mailing list