Skip to content

Commit

Permalink
Removed parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
arjenjb committed Jan 12, 2012
1 parent 1356e57 commit 9b92712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Twig/Extensions/Extension/If.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ public function getName()

function twig_if_filter($value, $condition)
{
return ($condition) ? $value : null;
return $condition ? $value : null;
}

0 comments on commit 9b92712

Please sign in to comment.