doc/IcingawebController: Use sprintf for "Missing parameter x" exceptions

This commit is contained in:
Eric Lippmann 2014-12-09 14:28:10 +01:00
parent 08bbe59679
commit 7605076dc5
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class Doc_IcingawebController extends DocController
$chapterId = $this->getParam('chapterId');
if ($chapterId === null) {
throw new Zend_Controller_Action_Exception(
$this->translate('Missing parameter \'chapterId\''),
sprintf($this->translate('Missing parameter \'%s\''), 'chapterId'),
404
);
}