mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 01:42:17 +00:00
Merge origin/ci into ci
This commit is contained in:
@@ -120,7 +120,7 @@ class Prestudent extends APIv1_Controller
|
||||
{
|
||||
$this->load->model('crm/RtPerson_model', 'RtPersonModel');
|
||||
|
||||
if(isset($ddReihungstest['new']) && $ddReihungstest['new'] === true)
|
||||
if(isset($ddReihungstest['new']) && $ddReihungstest['new'] == true)
|
||||
{
|
||||
// Remove new parameter to avoid DB insert errors
|
||||
unset($ddReihungstest['new']);
|
||||
@@ -149,8 +149,7 @@ class Prestudent extends APIv1_Controller
|
||||
|
||||
private function _validateAddReihungstest($ddReihungstest = NULL)
|
||||
{
|
||||
if (!isset($ddReihungstest['person_id']) || !isset($ddReihungstest['rt_id']) ||
|
||||
!isset($ddReihungstest['ort_kurzbz']))
|
||||
if (!isset($ddReihungstest['person_id']) || !isset($ddReihungstest['rt_id']))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -135,6 +135,7 @@ class Phrases extends FHC_Controller
|
||||
{
|
||||
$phrase_inhalt_id = $this->input->post('phrase_inhalt_id', TRUE);
|
||||
$data['orgeinheit_kurzbz'] = $this->input->post('oe_kurzbz', TRUE);
|
||||
$data['orgform_kurzbz'] = $this->input->post('orgform_kurzbz', TRUE);
|
||||
$data['text'] = $this->input->post('text', TRUE);
|
||||
$data['description'] = $this->input->post('description', TRUE);
|
||||
$data['sprache'] = $this->input->post('sprache', TRUE);
|
||||
|
||||
Reference in New Issue
Block a user