Fixed controllers parameters names and number

This commit is contained in:
paolo
2016-05-19 15:51:15 +02:00
parent 674e832392
commit 32acc8a414
84 changed files with 415 additions and 360 deletions
@@ -55,9 +55,9 @@ class Bisfunktion extends APIv1_Controller
{
if($this->_validate($this->post()))
{
if(isset($this->post()['bisfunktion_id']))
if(isset($this->post()['studiengang_kz']) && isset($this->post()['bisverwendung_id']))
{
$result = $this->BisfunktionModel->update($this->post()['bisfunktion_id'], $this->post());
$result = $this->BisfunktionModel->update(array($this->post()['studiengang_kz'], $this->post()['bisverwendung_id']), $this->post());
}
else
{