This commit is contained in:
James Cole 2021-02-19 16:24:52 +01:00
parent 2b06279f05
commit c4669ade29
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D

View File

@ -521,6 +521,7 @@ class SearchRuleEngine implements RuleEngineInterface
}
if (0 !== $journalId) {
$repository = app(JournalRepositoryInterface::class);
$repository->setUser($this->user);
$journal = $repository->findNull($journalId);
if (null !== $journal) {
$date = $journal->date;