Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Joomla CMS [#24796] Error removing styles in uninstall function #384

Merged
merged 15 commits into from Nov 17, 2011
@@ -506,7 +506,7 @@ function discover_install()
$db = $this->parent->getDbo();
$query = $db->getQuery(true);
$query->insert('#__template_styles');
- $query->set('template=' . $db->Quote($this->parent->extension->name));
+ $query->set('template=' . $db->Quote($this->parent->extension->element));
$query->set('client_id=' . $db->Quote($this->parent->extension->client_id));
$query->set('home=0');
$query->set('title=' . $db->Quote(JText::sprintf('JLIB_INSTALLER_DEFAULT_STYLE', $this->parent->extension->name)));