Dublicate Template Styles #93

Closed
wants to merge 6 commits into
from
View
1 administrator/components/com_templates/models/styles.php
@@ -123,6 +123,7 @@ protected function getListQuery()
$query->select('extension_id AS e_id');
$query->join('LEFT', '#__extensions AS e ON e.element = a.template');
$query->where('e.enabled = 1');
+ $query->where($db->quoteName('e.type') . '=' . $db->quote('template'));
// Filter by template.
if ($template = $this->getState('filter.template')) {