Skip to content

Commit

Permalink
Removing stray call to __()
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jul 30, 2014
1 parent cf01d37 commit d118ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/ViewBlock.php
Expand Up @@ -77,7 +77,7 @@ class ViewBlock {
*/
public function start($name) {
if (in_array($name, $this->_active)) {
throw new Error\Exception(__("A view block with the name '%s' is already/still open.", $name));
throw new Error\Exception(sprintf("A view block with the name '%s' is already/still open.", $name));
}
$this->_active[] = $name;
ob_start();
Expand Down

0 comments on commit d118ba3

Please sign in to comment.