This commit is contained in:
Stefan Puraner
2016-05-24 15:33:23 +02:00
2 changed files with 18 additions and 1 deletions
@@ -61,6 +61,9 @@ class Prestudentstatus extends APIv1_Controller
{
if(isset($prestudentstatus['new']) && $prestudentstatus['new'] == true)
{
// Remove new parameter to avoid DB insert errors
unset($prestudentstatus['new']);
$result = $this->PrestudentstatusModel->insert($prestudentstatus);
}
else