Added a fix to insure the contributor details are added to JCB original snippets.
This commit was merged in pull request #183.
This commit is contained in:
6 files changed
+19
-10
No files matched your search
@@ -4365,6 +4365,14 @@ class com_componentbuilderInstallerScript
|
||||
{
|
||||
foreach($updater as $item)
|
||||
{
|
||||
// add contributor details to those made by JCB
|
||||
if ($item->id < 94)
|
||||
{
|
||||
$item->contributor_company = 'Vast Development Method';
|
||||
$item->contributor_name = 'Llewellyn van der Merwe';
|
||||
$item->contributor_email = 'joomla@vdm.io';
|
||||
$item->contributor_website = 'https://www.vdm.io/';
|
||||
}
|
||||
// update the snippets table with the new library ids
|
||||
$db->updateObject('#__componentbuilder_snippet', $item, 'id');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user