Permalink
Browse files

MINOR Partially reverted 4d4f9e0 as we don't need to check

forTemplate() exists
  • Loading branch information...
1 parent b68e426 commit 1bf6495ae079b39c3a73c25b4e484365a0aca4cd @halkyon halkyon committed May 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 view/SSViewer.php
View
@@ -449,7 +449,7 @@ function __call($name, $arguments) {
if ($val = $this->getInjectedValue($property, $params)) {
$hasInjected = true;
$obj = $val['obj'];
- $res = ($obj->hasMethod('forTemplate')) ? $obj->forTemplate() : '';
+ $res = $obj->forTemplate();
}
}

0 comments on commit 1bf6495

Please sign in to comment.