changing filter_var by intval -refs #6259

1.9.x
Yoselyn Castillo 12 years ago
parent 15b666ed92
commit d457f0c83e
  1. 2
      main/exercice/savescores.php

@ -40,7 +40,7 @@ $_cid = api_get_course_id();
$test = $_REQUEST['test'];
$score = $_REQUEST['score'];
$origin = $_REQUEST['origin'];
$learnpath_item_id = filter_var($_REQUEST['learnpath_item_id']);
$learnpath_item_id = intval($_REQUEST['learnpath_item_id']);
$course_info = api_get_course_info();
$course_id = $course_info['real_id'];
$jscript2run = '';

Loading…
Cancel
Save