Added #39 a new feature the imports custom code during compilation. We also improved the compiler.

This commit is contained in:
2017-02-01 15:17:04 +02:00
parent ea2b2ea4c4
commit 1a79b92b07
458 changed files with 7127 additions and 6251 deletions

View File

@ -10,9 +10,9 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.2.6
@build 20th January, 2017
@created 30th April, 2015
@version @update number 65 of this MVC
@build 18th October, 2016
@created 18th May, 2015
@package Component Builder
@subpackage layout.php
@author Llewellyn van der Merwe <http://vdm.bz/component-builder>
@ -851,7 +851,7 @@ class ComponentbuilderModelLayout extends JModelAdmin
}
// Alter the name for save as copy
if ($input->get('task') == 'save2copy')
if ($input->get('task') === 'save2copy')
{
$origTable = clone $this->getTable();
$origTable->load($input->getInt('id'));
@ -905,7 +905,7 @@ class ComponentbuilderModelLayout extends JModelAdmin
}
// Alter the uniqe field for save as copy
if ($input->get('task') == 'save2copy')
if ($input->get('task') === 'save2copy')
{
// Automatic handling of other uniqe fields
$uniqeFields = $this->getUniqeFields();