Skip to content

Commit

Permalink
HTMLHelper stylesheet method
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Aug 19, 2018
1 parent f3094f2 commit 3e545e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/HTML/HTMLHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ public static function image($file, $alt, $attribs = null, $relative = false, $r
public static function stylesheet($file, $options = array(), $attribs = array())
{
// B/C before 3.7.0
if (!is_array($attribs))
if (!is_array($attribs) || !is_array($options))
{
Log::add('The stylesheet method signature used has changed, use (file, options, attributes) instead.', Log::WARNING, 'deprecated');

Expand Down

0 comments on commit 3e545e3

Please sign in to comment.