Now the statusgrund interface loads only enabled languages

This commit is contained in:
bison-paolo
2016-10-06 16:34:58 +02:00
parent bfaf901550
commit 00143e4c38
+3 -3
View File
@@ -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);