Made little fix to search of local Joomla component on JCB package import

This commit is contained in:
2018-01-24 14:47:57 +02:00
parent f98240d566
commit f048c5c29f
4 changed files with 34 additions and 28 deletions

View File

@ -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
{