Skip to content

Commit

Permalink
edited xlang model
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard committed Feb 1, 2024
1 parent 3840a09 commit 9cdd51e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/Models/Xlang.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@
*/
class Xlang extends Model
{
use HasFactory,SoftDeletes;
use HasFactory, SoftDeletes;

public function imgUrl(){
public function imgUrl()
{
if ($this->img == null || $this->img == '') {
return asset('/images/logo.png');
} else {
Expand Down

0 comments on commit 9cdd51e

Please sign in to comment.