mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes tests
This commit is contained in:
parent
4bcab0d0d6
commit
e5245c22d4
@ -337,7 +337,7 @@ class BaseRepository
|
||||
public function newEntityEvent($model)
|
||||
{
|
||||
|
||||
$className = $this->getEventClass($entity, 'Created');
|
||||
$className = $this->getEventClass($model, 'Created');
|
||||
|
||||
if (class_exists($className)) {
|
||||
event(new $className($model, $model->company));
|
||||
|
Loading…
x
Reference in New Issue
Block a user