[Fusionforge-commits] r10418 - trunk/src/www/tracker

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Tue Sep 7 19:49:04 CEST 2010


Author: aljeux
Date: 2010-09-07 19:49:04 +0200 (Tue, 07 Sep 2010)
New Revision: 10418

Modified:
   trunk/src/www/tracker/tracker.php
Log:
aid is an integer, ensure type in Int.

Modified: trunk/src/www/tracker/tracker.php
===================================================================
--- trunk/src/www/tracker/tracker.php	2010-09-07 17:48:59 UTC (rev 10417)
+++ trunk/src/www/tracker/tracker.php	2010-09-07 17:49:04 UTC (rev 10418)
@@ -456,7 +456,7 @@
 		case 'deleteartifact' : {
 			session_require_perm ('tracker', $ath->getID(), 'manager') ;
 
-			$aid = getStringFromRequest('aid');
+			$aid = getIntFromRequest('aid');
 			$ah= new ArtifactHtml($ath,$aid);
 			if (!$ah || !is_object($ah)) {
 				exit_error('ERROR','Artifact Could Not Be Created');




More information about the Fusionforge-commits mailing list