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)) {
|
||||
throw new Zend_Controller_Action_Exception(
|
||||
$this->translate('Missing parameter \'moduleName\''),
|
||||
sprintf($this->translate('Missing parameter \'%s\''), 'moduleName'),
|
||||
404
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue