Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
|| on it's own line
Browse files Browse the repository at this point in the history
  • Loading branch information
basz committed Jun 12, 2012
1 parent eb4a804 commit 4a7ad28
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Helper/HeadScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,8 @@ public function itemToString($item, $indent, $escapeStart, $escapeEnd)
if (!empty($item->attributes)) {
foreach ($item->attributes as $key => $value) {
if ((!$this->arbitraryAttributesAllowed()
&& !in_array($key, $this->_optionalAttributes)) || in_array($key, array('conditional', 'noescape')))
&& !in_array($key, $this->_optionalAttributes))
|| in_array($key, array('conditional', 'noescape')))
{
continue;
}
Expand Down

0 comments on commit 4a7ad28

Please sign in to comment.