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