Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Письменов Дмитрий Иванович
/
yourroomads
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ac8aa4ac
authored
Aug 12, 2021
by
Vladislav
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#20696 Обновление вирт карточки в объявлениях
1 parent
2825b9f9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Models/Advertisement.php
app/Models/Advertisement.php
View file @
ac8aa4a
...
...
@@ -168,7 +168,7 @@ class Advertisement extends Model
*/
public
function
scopeForNotArchived
(
$query
)
{
return
$query
->
where
(
'state'
,
'!=
=
'
,
Advertisement
::
STATE_ARCHIVED
);
return
$query
->
where
(
'state'
,
'!='
,
Advertisement
::
STATE_ARCHIVED
);
}
/**
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment