Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dan Brown
2016-05-28 14:02:48 +0100
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
947db95d1674eeb95c5c9bd6aabee00a39d66da0
947db95d
1 parent
5b9362ab
Fixed error with similar activity filtering
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
app/Activity.php
app/Activity.php
View file @
947db95
...
...
@@ -44,7 +44,7 @@ class Activity extends Model
* @return bool
*/
public
function
isSimilarTo
(
$activityB
)
{
return
[
$this
->
key
,
$this
->
entit
iy_type
,
$this
->
entitiy_id
]
===
[
$activityB
->
key
,
$activityB
->
entitiy_type
,
$activityB
->
entiti
y_id
];
return
[
$this
->
key
,
$this
->
entit
y_type
,
$this
->
entity_id
]
===
[
$activityB
->
key
,
$activityB
->
entity_type
,
$activityB
->
entit
y_id
];
}
}
...
...
Please
register
or
sign in
to post a comment