added dynamic email helper fields to the global settings of all components that use the email helper class
This commit is contained in:
@ -10,12 +10,12 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.2.4
|
||||
@build 25th November, 2016
|
||||
@version 2.2.5
|
||||
@build 22nd December, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage snippet.php
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder>
|
||||
@author Llewellyn van der Merwe <http://vdm.bz/component-builder>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@ -99,7 +99,7 @@ class ComponentbuilderControllerSnippet extends JControllerForm
|
||||
{
|
||||
// The record has been set. Check the record permissions.
|
||||
$permission = $user->authorise('core.edit', 'com_componentbuilder.snippet.' . (int) $recordId);
|
||||
if (!$permission && !is_null($permission))
|
||||
if (!$permission)
|
||||
{
|
||||
if ($user->authorise('core.edit.own', 'com_componentbuilder.snippet.' . $recordId))
|
||||
{
|
||||
|
Reference in New Issue
Block a user