forked from joomla/Component-Builder
Made little fix to search of local Joomla component on JCB package import
This commit is contained in:
parent
f98240d566
commit
f048c5c29f
@ -130,7 +130,7 @@ Component Builder is mapped as a component in itself on my local development env
|
||||
+ *Version*: 2.6.13
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
+ *Line count*: **180832**
|
||||
+ *Line count*: **180838**
|
||||
+ *Field count*: **1577**
|
||||
+ *File count*: **1161**
|
||||
+ *Folder count*: **186**
|
||||
|
@ -130,7 +130,7 @@ Component Builder is mapped as a component in itself on my local development env
|
||||
+ *Version*: 2.6.13
|
||||
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
|
||||
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
+ *Line count*: **180832**
|
||||
+ *Line count*: **180838**
|
||||
+ *Field count*: **1577**
|
||||
+ *File count*: **1161**
|
||||
+ *Folder count*: **186**
|
||||
|
@ -2265,10 +2265,16 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
|
||||
}
|
||||
break;
|
||||
case 'joomla_component':
|
||||
if ($retry == 2)
|
||||
if ($retry == 3)
|
||||
{
|
||||
// get by name only
|
||||
$getter = array('name', 'name_code'); // risky will look at this again
|
||||
}
|
||||
elseif ($retry == 2)
|
||||
{
|
||||
// get by name ...
|
||||
$getter = array('name', 'name_code', 'short_description', 'author', 'email', 'component_version', 'companyname', 'system_name', 'website', 'bom', 'copyright', 'license'); // risky will look at this again
|
||||
$retryAgain = 3;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user