From 00143e4c3877415e2a98d0aaafb6779def5c7bad Mon Sep 17 00:00:00 2001 From: bison-paolo Date: Thu, 6 Oct 2016 16:34:58 +0200 Subject: [PATCH] Now the statusgrund interface loads only enabled languages --- application/controllers/crm/Statusgrund.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/controllers/crm/Statusgrund.php b/application/controllers/crm/Statusgrund.php index dcec272fa..6a4e0d008 100644 --- a/application/controllers/crm/Statusgrund.php +++ b/application/controllers/crm/Statusgrund.php @@ -56,7 +56,7 @@ class Statusgrund extends VileSci_Controller show_error($statusGrund->retval); } - $sprache = $this->SpracheModel->load(); + $sprache = $this->SpracheModel->loadWhere(array('content' => true)); if ($sprache->error) { show_error($sprache->retval); @@ -79,7 +79,7 @@ class Statusgrund extends VileSci_Controller show_error($status->retval); } - $sprache = $this->SpracheModel->load(); + $sprache = $this->SpracheModel->loadWhere(array('content' => true)); if ($sprache->error) { show_error($sprache->retval); @@ -96,7 +96,7 @@ class Statusgrund extends VileSci_Controller public function newGrund($status_kurzbz) { - $sprache = $this->SpracheModel->load(); + $sprache = $this->SpracheModel->loadWhere(array('content' => true)); if ($sprache->error) { show_error($sprache->retval);