diff options
Diffstat (limited to 'h-source/Application/Controllers')
-rw-r--r-- | h-source/Application/Controllers/GenericController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/h-source/Application/Controllers/GenericController.php b/h-source/Application/Controllers/GenericController.php index 4ac197c..c2e6517 100644 --- a/h-source/Application/Controllers/GenericController.php +++ b/h-source/Application/Controllers/GenericController.php @@ -432,7 +432,7 @@ class GenericController extends BaseController Params::$nullQueryValue = 'undef'; - $data['tree'] = $this->controller; + $data['tree'] = plural($this->controller); $this->mod->aWhere(array("deleted"=>"no","cleared"=>"no")); @@ -834,7 +834,7 @@ class GenericController extends BaseController protected function getSpecHardLink() { - return "<a href='".$this->baseUrl.'/'.$this->controller.'/catalogue/'.$this->lang.$this->viewStatus."'>".$this->controller."</a>"; + return "<a href='".$this->baseUrl.'/'.$this->controller.'/catalogue/'.$this->lang.$this->viewStatus."'>".plural($this->controller)."</a>"; } protected function goToLoginForm() |