Fix missing sprintf() in page module

This commit is contained in:
Kijin Sung 2018-09-06 15:28:18 +09:00
parent 4d5401ef89
commit e5ab366d91
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ class pageMobile extends pageView
}
else
{
throw new Rhymix\Framework\Exception('%s method is not exists', $method);
throw new Rhymix\Framework\Exception(sprintf('%s method is not exists', $method));
}
Context::set('module_info', $this->module_info);

View file

@ -56,7 +56,7 @@ class pageView extends page
}
else
{
throw new Rhymix\Framework\Exception('%s method is not exists', $method);
throw new Rhymix\Framework\Exception(sprintf('%s method is not exists', $method));
}
Context::set('module_info', $this->module_info);