diff options
Diffstat (limited to 'app/controllers/search/studiengaenge.php')
| -rw-r--r-- | app/controllers/search/studiengaenge.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/controllers/search/studiengaenge.php b/app/controllers/search/studiengaenge.php index 210f243..6882f6f 100644 --- a/app/controllers/search/studiengaenge.php +++ b/app/controllers/search/studiengaenge.php @@ -15,11 +15,15 @@ class Search_StudiengaengeController extends MVVController { + public function __construct(Trails\Dispatcher $dispatcher) + { + $this->allow_nobody = Config::get()->getValue('COURSE_SEARCH_IS_VISIBLE_NOBODY'); + + parent::__construct($dispatcher); + } public function before_filter(&$action, &$args) { - $this->allow_nobody = Config::get()->COURSE_SEARCH_IS_VISIBLE_NOBODY; - parent::before_filter($action, $args); // set navigation |
