added workaround to convert pgsql arrays to php arrays to another method

This commit is contained in:
Stefan Puraner
2016-10-11 12:16:08 +02:00
parent 0465c1639f
commit 7b7039d9bc
@@ -62,6 +62,9 @@ class Dokumentstudiengang extends APIv1_Controller
{
$result = $this->DokumentstudiengangModel->getDokumentstudiengangByStudiengang_kz($studiengang_kz, $onlinebewerbung, $pflicht);
// Workaround
$result = $this->escapeArrays($result, array('bezeichnung_mehrsprachig', 'dokumentbeschreibung_mehrsprachig'));
$this->response($result, REST_Controller::HTTP_OK);
}
else