mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
cs fixes
This commit is contained in:
@@ -41,8 +41,9 @@ class Metadata extends \Espo\Core\Controllers\Base
|
||||
public function getActionGet($params, $data, $request)
|
||||
{
|
||||
if (!$this->getUser()->isAdmin()) {
|
||||
throw new \Forbidden();
|
||||
throw new Forbidden();
|
||||
}
|
||||
|
||||
$key = $request->get('key');
|
||||
|
||||
return $this->getMetadata()->get($key, false);
|
||||
|
||||
Reference in New Issue
Block a user