fixed gh-312 that caused an error when creating a new component.

This commit is contained in:
Llewellyn van der Merwe 2018-07-07 00:01:30 +02:00
parent 1a19a510dc
commit 2b39af94a2
No known key found for this signature in database
GPG Key ID: CAD7B16D27AF28C5
4 changed files with 7 additions and 4 deletions

View File

@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
+ *Version*: 2.8.2 + *Version*: 2.8.2
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **186160** + *Line count*: **186163**
+ *Field count*: **1058** + *Field count*: **1058**
+ *File count*: **1238** + *File count*: **1238**
+ *Folder count*: **197** + *Folder count*: **197**

View File

@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
+ *Version*: 2.8.2 + *Version*: 2.8.2
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved. + *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt + *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **186160** + *Line count*: **186163**
+ *Field count*: **1058** + *Field count*: **1058**
+ *File count*: **1238** + *File count*: **1238**
+ *Folder count*: **197** + *Folder count*: **197**

View File

@ -1184,7 +1184,10 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
} }
// we check if component should be build from sql file // we check if component should be build from sql file
ComponentbuilderHelper::dynamicBuilder($data, 1); if (isset($data['buildcomp']) && 1 == $data['buildcomp'])
{
ComponentbuilderHelper::dynamicBuilder($data, 1);
}
// Set the Params Items to data // Set the Params Items to data
if (isset($data['params']) && is_array($data['params'])) if (isset($data['params']) && is_array($data['params']))