updated the year value. Added placeholder search to the new placeholder 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 - 2018 Vast Development Method. All rights reserved.
|
||||
* @copyright Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
||||
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
||||
*/
|
||||
|
||||
@@ -802,7 +802,7 @@ class ComponentbuilderModelPlaceholder extends JModelAdmin
|
||||
}
|
||||
|
||||
// make sure no padding is set
|
||||
$data['target'] = str_replace(array('[', ']', '#'), '', $data['target']);
|
||||
$data['target'] = preg_replace("/[^A-Za-z0-9_]/", '', $data['target']);
|
||||
// add the padding (needed)
|
||||
$data['target'] = '[[[' . trim($data['target']) . ']]]';
|
||||
|
||||
|
Reference in New Issue
Block a user