mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-24 10:22:18 +00:00
- 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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user