Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
irul
/
integrasi-reklame-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5e5a03c7
authored
Nov 18, 2022
by
irul
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
update func sspd() - Models/Spt.php
1 parent
886b1864
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/Base/Models/Spt.php
src/Base/Models/Spt.php
View file @
5e5a03c
...
...
@@ -82,11 +82,11 @@ class Spt extends AbstractModel
}
/**
* Get the sspd record associated with the spt.
* Get the
valid
sspd record associated with the spt.
*/
public
function
sspd
()
{
return
$this
->
hasOne
(
$this
->
getParentNamespace
()
.
'\Sspd'
);
return
$this
->
hasOne
(
$this
->
getParentNamespace
()
.
'\Sspd'
)
->
where
(
'is_valid'
,
'='
,
1
)
;
}
/**
...
...
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