Updated the copyright date for the new year 2021. Improved the compiler message area.
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
* @created 30th April, 2015
|
||||
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
||||
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
||||
* @copyright Copyright (C) 2015 - 2020 Vast Development Method. All rights reserved.
|
||||
* @copyright Copyright (C) 2015 - 2021 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
@ -1492,7 +1492,7 @@ class Fields extends Structure
|
||||
// check if the view has permissions
|
||||
if (isset($view['settings'])
|
||||
&& ComponentbuilderHelper::checkArray(
|
||||
$view['settings']->permissions
|
||||
$view['settings']->permissions, true
|
||||
))
|
||||
{
|
||||
foreach ($view['settings']->permissions as $per)
|
||||
@ -1516,7 +1516,7 @@ class Fields extends Structure
|
||||
// check if the fields has permissions
|
||||
if (isset($view['settings'])
|
||||
&& ComponentbuilderHelper::checkArray(
|
||||
$view['settings']->fields
|
||||
$view['settings']->fields, true
|
||||
))
|
||||
{
|
||||
foreach ($view['settings']->fields as $field)
|
||||
@ -1525,7 +1525,7 @@ class Fields extends Structure
|
||||
// the a view has permissions
|
||||
if (isset($field['permission'])
|
||||
&& ComponentbuilderHelper::checkArray(
|
||||
$field['permission']
|
||||
$field['permission'], true
|
||||
))
|
||||
{
|
||||
// set the permission for later
|
||||
|
Reference in New Issue
Block a user