doc: Use sprintf for "Missing parameter x" exceptions

This commit is contained in:
Eric Lippmann 2014-12-09 12:57:16 +01:00
parent 51b47df4c5
commit 7edb1217c6
1 changed files with 1 additions and 1 deletions

View File

@ -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
);
}