This commit is contained in:
yuri
2015-03-30 11:34:54 +03:00
parent f8498e3adc
commit fc0d8dffcd
2 changed files with 2 additions and 2 deletions

View File

@@ -96,7 +96,7 @@ class HookManager
public function process($scope, $hookName, $injection = null, array $options = array())
{
if ($scope != 'Common') {
$this->process('Common', $hookName, $injection);
$this->process('Common', $hookName, $injection, $options);
}
if (!empty($this->data[$scope])) {

View File

@@ -241,7 +241,7 @@ class RDB extends \Espo\ORM\Repositories\RDB implements Injectable
}
$this->restoreData = $restoreData;
$result = parent::save($entity);
$result = parent::save($entity, $options);
return $result;
}