* [ADD] PHP modules checking. Work in progress

* [FIX] Minor bugfixes
* [MOD] Code refactoring
This commit is contained in:
nuxsmin
2018-08-01 00:18:11 +02:00
parent bc80e8797a
commit 31a38bc43c
26 changed files with 388 additions and 305 deletions

View File

@@ -122,6 +122,7 @@ final class ClientController extends ControllerBase implements CrudControllerInt
*
* @throws \SP\Core\Exceptions\ConstraintException
* @throws \SP\Core\Exceptions\QueryException
* @throws \SP\Services\ServiceException
*/
protected function setViewData($clientId = null)
{
@@ -143,7 +144,7 @@ final class ClientController extends ControllerBase implements CrudControllerInt
}
$this->view->assign('showViewCustomPass', $this->acl->checkUserAccess(Acl::CUSTOMFIELD_VIEW_PASS));
$this->view->assign('customFields', $this->getCustomFieldsForItem(Acl::CLIENT, $clientId, $this->session));
$this->view->assign('customFields', $this->getCustomFieldsForItem(Acl::CLIENT, $clientId));
}
/**