mirror of
https://github.com/Karaka-Management/oms-Comments.git
synced 2026-02-18 18:28:41 +00:00
template fixes + bug fixes + style fixes
This commit is contained in:
parent
fb378433ae
commit
ba022d1a99
|
|
@ -83,7 +83,7 @@ final class CommentVoteMapper extends DataMapperFactory
|
||||||
$results = self::getAll()
|
$results = self::getAll()
|
||||||
->where('comment', $comment)
|
->where('comment', $comment)
|
||||||
->where('createdBy', $account)
|
->where('createdBy', $account)
|
||||||
->execute();
|
->executeGetArray();
|
||||||
|
|
||||||
return empty($results) ? new NullCommentVote() : \reset($results);
|
return empty($results) ? new NullCommentVote() : \reset($results);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user