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

This commit is contained in:
Llewellyn committed 2018-07-07 00:01:30 +02:00
1 parent 1a19a510dc
commit 2b39af94a2
4 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
+ *Version*: 2.8.2
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **186160**
+ *Line count*: **186163**
+ *Field count*: **1058**
+ *File count*: **1238**
+ *Folder count*: **197**
+1 -1
View File
@@ -129,7 +129,7 @@ Watch the [proposed development workflow](https://vdm.bz/proposed-development-wo
+ *Version*: 2.8.2
+ *Copyright*: Copyright (C) 2015 - 2018 Vast Development Method. All rights reserved.
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
+ *Line count*: **186160**
+ *Line count*: **186163**
+ *Field count*: **1058**
+ *File count*: **1238**
+ *Folder count*: **197**
+1 -1
View File
@@ -193,7 +193,7 @@ class ComponentbuilderModelAjax extends JModelList
}
return $result;
}
protected function hasCurl()
{
return function_exists('curl_version');
+4 -1
View File
@@ -1184,7 +1184,10 @@ class ComponentbuilderModelJoomla_component extends JModelAdmin
}
// 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
if (isset($data['params']) && is_array($data['params']))