InfoCenter: fixed relative URLs and HTTP GET parameters

This commit is contained in:
Paolo
2018-06-15 11:04:24 +02:00
parent bf4829f324
commit 264ec9be9e
3 changed files with 10 additions and 11 deletions
@@ -1069,7 +1069,7 @@ class InfoCenter extends FHC_Controller
$this->PrestudentModel->addSelect('person_id');
$person_id = $this->PrestudentModel->load($prestudent_id)->retval[0]->person_id;
redirect(self::URL_PREFIX.'/showDetails/'.$person_id.'?fhc_controller_id='.$this->getControllerId().'#'.$section);
redirect(self::URL_PREFIX.'/showDetails?person_id='.$person_id.'&fhc_controller_id='.$this->getControllerId().'#'.$section);
}
/**