fix Передача обьекта пользователя в модель
This commit is contained in:
parent
9f3523de6b
commit
73112f5bf0
3 changed files with 7 additions and 4 deletions
|
|
@ -153,7 +153,7 @@ class Action
|
|||
public function getModel($name)
|
||||
{
|
||||
if (!$this->factory) {
|
||||
$this->factory = new Factory($this->db, $this->config);
|
||||
$this->factory = new Factory($this->db, $this->config, $this->user);
|
||||
}
|
||||
return $this->factory->getModel($name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue