Skip to content

Commit

Permalink
Update helpers.php
Browse files Browse the repository at this point in the history
  • Loading branch information
amir2b authored Feb 24, 2018
1 parent 1ec6ff8 commit a48f975
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions files/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*/
function image_url($file, $width = 0, $height = 0, $is_crop = false)
{
$file = trim($file, '/');
if (empty($file)) {
if (!empty(config('image-fit.image_default')))
$file = config('image-fit.image_default');
Expand Down

0 comments on commit a48f975

Please sign in to comment.