forked from joomla/Component-Builder
fixed gh-312 that caused an error when creating a new component.
This commit is contained in:
parent
1a19a510dc
commit
2b39af94a2
@ -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**
|
||||
|
@ -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**
|
||||
|
@ -193,7 +193,7 @@ class ComponentbuilderModelAjax extends JModelList
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
|
||||
protected function hasCurl()
|
||||
{
|
||||
return function_exists('curl_version');
|
||||
|
@ -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']))
|
||||
|
Loading…
Reference in New Issue
Block a user