- Added method hasAtLeastOne to the library PermissionLib

- Adapted the method isAllowed of the library FiltersLib to use hasAtLeastOne
- Corrected/added comments
This commit is contained in:
Paolo
2018-06-29 11:51:16 +02:00
parent 2b15c88410
commit 2cba129076
4 changed files with 40 additions and 30 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ class FilterWidget extends Widget
$this->_initFilterWidget($args); // checks parameters and initialize properties
// Let's start if it's allowed
// NOTE: If it is NOT allowed then no date are loaded
// NOTE: If it is NOT allowed then no data are loaded
if ($this->filterslib->isAllowed($this->_requiredPermissions)) $this->_startFilterWidget();
}