Hallo = $name?>!
--
diff --git a/application/controllers/Cis4.php b/application/controllers/Cis4.php index f82168f83..84aedc5f2 100644 --- a/application/controllers/Cis4.php +++ b/application/controllers/Cis4.php @@ -34,7 +34,10 @@ class Cis4 extends Auth_Controller show_error("name couldn't be loaded for username ".getAuthUID()); } $begruesung = getData($begruesung); + $viewData = array( + 'name' => $begruesung + ); - $this->load->view('CisVue/Dashboard.php',["name"=> $begruesung]); + $this->load->view('CisVue/Dashboard.php',['viewData' => $viewData]); } } \ No newline at end of file diff --git a/application/controllers/CisVue/Dashboard.php b/application/controllers/CisVue/Dashboard.php index 5a0996a96..5cb0d1a9e 100644 --- a/application/controllers/CisVue/Dashboard.php +++ b/application/controllers/CisVue/Dashboard.php @@ -35,7 +35,11 @@ class Dashboard extends Auth_Controller show_error("name couldn't be loaded for username ".getAuthUID()); } $begruesung = getData($begruesung); - $this->load->view('CisVue/Dashboard.php',["name"=> $begruesung]); + $viewData = array( + 'name' => $begruesung + ); + + $this->load->view('CisVue/Dashboard.php', ['viewData' => $viewData]); } } \ No newline at end of file diff --git a/application/views/CisVue/Dashboard.php b/application/views/CisVue/Dashboard.php index 4b10d94cc..2f241af87 100644 --- a/application/views/CisVue/Dashboard.php +++ b/application/views/CisVue/Dashboard.php @@ -13,9 +13,7 @@ $this->load->view('templates/CISVUE-Header', $includesArray); ?>