Change hidden to hide (Eloquent blocked keyword)

This commit is contained in:
slawkens
2024-01-27 16:54:48 +01:00
parent 3554b41172
commit d71bab648d
48 changed files with 143 additions and 122 deletions

View File

@@ -11,6 +11,6 @@ class Changelog extends Model {
public $timestamps = false;
public function scopeIsPublic($query) {
$query->where('hidden', '!=', 1);
$query->where('hide', '!=', 1);
}
}