Skip to content

Commit

Permalink
Update HTMLHelper.php (#19770)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReLater authored and Michael Babker committed Jul 21, 2018
1 parent 7ce46ec commit 1ba7727
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 @@ -582,7 +582,7 @@ public static function image($file, $alt, $attribs = null, $relative = false, $r
}

// If only path is required
if ($returnPath)
if ($returnPath === 1)
{
return $file;
}
Expand Down

0 comments on commit 1ba7727

Please sign in to comment.