edited xlang model

pull/36/head
A1Gard 11 months ago
parent 3840a09733
commit 9cdd51e5ff

@ -37,7 +37,8 @@ class Xlang extends Model
{ {
use HasFactory, SoftDeletes; use HasFactory, SoftDeletes;
public function imgUrl(){ public function imgUrl()
{
if ($this->img == null || $this->img == '') { if ($this->img == null || $this->img == '') {
return asset('/images/logo.png'); return asset('/images/logo.png');
} else { } else {

Loading…
Cancel
Save