Skip to content
Permalink
Browse files

Condense isset calls

  • Loading branch information...
bcrowe committed Dec 13, 2015
1 parent 11cd032 commit 0d2713b16fa17f672d12b2f4fdda39c091496fbe
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/View/Helper/HtmlHelper.php
@@ -250,7 +250,7 @@ public function meta($type, $content = null, array $options = [])
} else {
$type = ['name' => $type, 'content' => $content];
}
} elseif (isset($options['type']) && isset($types[$options['type']])) {
} elseif (isset($options['type'], $types[$options['type']])) {
$type = $types[$options['type']];
unset($options['type']);
} else {

0 comments on commit 0d2713b

Please sign in to comment.
You can’t perform that action at this time.