This commit is contained in:
yuri
2017-09-25 12:06:53 +03:00
parent 3772e1e839
commit 0a3f1dad50
@@ -33,7 +33,7 @@ class EmailFilter extends \Espo\Core\SelectManagers\Base
{
protected function access(&$result)
{
if (!$this->hetUser()->isAdmin()) {
if (!$this->getUser()->isAdmin()) {
$this->accessOnlyOwn($result);
}
}