33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-30 16:53:59 +00:00

fix comment text

This commit is contained in:
Denis Ryabov 2021-03-24 15:11:59 +03:00
parent 65fe32b164
commit 0869a0cecb

View File

@ -147,7 +147,7 @@ class JedcheckerRulesXMLinfo extends JEDcheckerRule
$extension = 'com_' . $extension;
}
// Plugin's element name starts with com_
// Plugin's element name starts with plg_
if ($type === 'plugin' && isset($xml['group']) && strpos($extension, 'plg_') !== 0)
{
$extension = 'plg_' . $xml['group'] . '_' . $extension;