AC-4804: Security fixes for XSS, possible sql injection on multiple scripts within...
[acontent.git] / docs / updater / patch_edit.php
index 949eae4..acfc6ec 100644 (file)
@@ -22,7 +22,7 @@ if (!isset($_REQUEST["myown_patch_id"]))
        exit;\r
 }\r
 \r
-$myown_patch_id = $_REQUEST["myown_patch_id"];\r
+$myown_patch_id = intval($_REQUEST["myown_patch_id"]);\r
 \r
 $myownPatchesDAO = new MyownPatchesDAO();\r
 $myownPatchesDependentDAO = new MyownPatchesDependentDAO();\r