Skip to content
Snippets Groups Projects
Commit 11d24c45 authored by 3i Logic LMS's avatar 3i Logic LMS
Browse files

Recieved variable through Moodle method

parent 5197c2d5
No related branches found
No related tags found
No related merge requests found
...@@ -30,13 +30,13 @@ require_once('learning_plan_form.php'); ...@@ -30,13 +30,13 @@ require_once('learning_plan_form.php');
require_once("lib.php"); require_once("lib.php");
global $DB; global $DB;
$attributes = array(); $attributes = array();
$lp_id = $_GET['id']; $lp_id = required_param('id', PARAM_INT); // $_GET['id'];
$u_id = $_GET['u_id']; $u_id = optional_param('u_id', null, PARAM_INT);// $_GET['u_id'];
$t = $_GET['t']; $t = optional_param('t', null, PARAM_INT); // $_GET['t'];
$t_id = $_GET['t_id']; $t_id = optional_param('t_id', null, PARAM_INT); // $_GET['t_id'];
$status = $_GET['status']; $status = optional_param('status', null, PARAM_INT); // $_GET['status'];
$hidetraining = $_GET['hidetraining']; $hidetraining = optional_param('hidetraining', null, PARAM_INT); // $_GET['hidetraining'];
$hideusers = $_GET['hideusers']; $hideusers = optional_param('hideusers', null, PARAM_INT); //$_GET['hideusers'];
if($lp_id && $t_id) { if($lp_id && $t_id) {
$form = new search(); $form = new search();
$table = $form->display_list($lp_id, $t_id, $status); $table = $form->display_list($lp_id, $t_id, $status);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment