binshops / laravel-blog

Laravel Blog Package/ Laravel CMS. Easiest way to add a blogging system to your Laravel website. Laravel Blog.
https://www.binshops.com
MIT License
422 stars 130 forks source link

Not showing en/blog , corrected HessamPostTranslation.php line 129 #27

Closed KALEFA closed 3 years ago

KALEFA commented 3 years ago

Too few arguments to function HessamCMS\Models\HessamPostTranslation::url(), 0 passed ... on get en/blog or search result,

So changed HessamPostTranslation.php:129 from

return $auto_link ? "<a class='" . e($anchor_class) . "' href='" . e($this->url( )) . "'>$img</a>" : $img; to return $auto_link ? "<a class='" . e($anchor_class) . "' href='" . e($this->url( app()->getLocale() )) . "'>$img</a>" : $img;

samberrry commented 3 years ago

@KALEFA thanks for your consideration.

we will update it with new release. Thanks

samberrry commented 3 years ago

would you please provide us with you email address?

thanks dear @KALEFA

KALEFA commented 3 years ago

Of course sam-beri ! . Is hansrey22@gmail.com ;)