From 0a3f1dad503d15ea844f9de9280495d3a11bc50c Mon Sep 17 00:00:00 2001 From: yuri Date: Mon, 25 Sep 2017 12:06:53 +0300 Subject: [PATCH] fix typo --- application/Espo/SelectManagers/EmailFolder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Espo/SelectManagers/EmailFolder.php b/application/Espo/SelectManagers/EmailFolder.php index 1f70860eca..203ecce0fd 100644 --- a/application/Espo/SelectManagers/EmailFolder.php +++ b/application/Espo/SelectManagers/EmailFolder.php @@ -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); } }