mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
doc: Use sprintf for "Missing parameter x" exceptions
This commit is contained in:
parent
51b47df4c5
commit
7edb1217c6
@ -37,7 +37,7 @@ class Doc_ModuleController extends DocController
|
|||||||
{
|
{
|
||||||
if (empty($moduleName)) {
|
if (empty($moduleName)) {
|
||||||
throw new Zend_Controller_Action_Exception(
|
throw new Zend_Controller_Action_Exception(
|
||||||
$this->translate('Missing parameter \'moduleName\''),
|
sprintf($this->translate('Missing parameter \'%s\''), 'moduleName'),
|
||||||
404
|
404
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user