Commit ac8aa4ac by Vladislav

#20696 Обновление вирт карточки в объявлениях

1 parent 2825b9f9
Showing with 1 additions and 1 deletions
...@@ -168,7 +168,7 @@ class Advertisement extends Model ...@@ -168,7 +168,7 @@ class Advertisement extends Model
*/ */
public function scopeForNotArchived($query) public function scopeForNotArchived($query)
{ {
return $query->where('state', '!==', Advertisement::STATE_ARCHIVED); return $query->where('state', '!=', Advertisement::STATE_ARCHIVED);
} }
/** /**
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!