Skip to content

Commit 0289175

Browse files
committed
Update dependencies
1 parent 2b84d49 commit 0289175

7 files changed

Lines changed: 535 additions & 455 deletions

File tree

app/Azuriom.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Azuriom
1111
*
1212
* @var string
1313
*/
14-
private const VERSION = '1.2.6';
14+
private const VERSION = '1.2.7';
1515

1616
/**
1717
* Get the current version of Azuriom CMS.

app/Games/Game.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,9 @@ public function userPrimaryAttributeName(): string
101101
? trans('auth.name')
102102
: $this->trans('id');
103103
}
104+
105+
public function userPrimaryAttribute(): UserAttribute
106+
{
107+
return $this->userPrimaryAttribute;
108+
}
104109
}

app/Models/Traits/Searchable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function runSearch(Builder $query, string $search, array $columns): vo
3737

3838
$models[$model] = [...$models[$model] ?? [], $column];
3939
} else {
40-
$query->orWhere($column, 'like', "%{$search}%");
40+
$query->orWhereLike($column, "%{$search}%");
4141
}
4242
}
4343

0 commit comments

Comments
 (0)