mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Fixes for templates
This commit is contained in:
parent
21cc187326
commit
1677482a11
@ -222,7 +222,7 @@ class TemplateService
|
||||
|
||||
$processed = [];
|
||||
|
||||
if(in_array($key, ['tasks','projects']) || !$value->first() || !$value->first()->invitations()->first())
|
||||
if(in_array($key, ['tasks','projects']) || !$value->first() )
|
||||
return $processed;
|
||||
|
||||
match ($key) {
|
||||
|
Loading…
Reference in New Issue
Block a user