mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix for tests
This commit is contained in:
parent
2c3176544a
commit
59b309aed0
@ -106,6 +106,10 @@ class HistoryUtils
|
|||||||
|
|
||||||
public static function trackViewed(EntityModel $entity)
|
public static function trackViewed(EntityModel $entity)
|
||||||
{
|
{
|
||||||
|
if (! $entity) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$entityType = $entity->getEntityType();
|
$entityType = $entity->getEntityType();
|
||||||
$trackedTypes = [
|
$trackedTypes = [
|
||||||
ENTITY_CLIENT,
|
ENTITY_CLIENT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user