The latest GARS package has been updated with the fix, so you can grab the latest GARS package again and reimport the product-gars.xml file via the ACP (do not uninstall, do allow overwrite) but remember that your custom templates and phrases for GARS add-ons (i.e. the link directory and/or the release add-on) will get wiped out. After reimporting the XML file, you will need to use the GARS importer to reimport the add-ons (making sure you choose the option to import phrases and templates only).
Alternatively, you can make the required change (without reimporting the product-gars.xml file) by going to the ACP -> Plugins & Products -> Plugin Manager -> edit the '
GARS - Admin Index Navigation' plugin as follows and then save the changes:
Product: GARS
Hook Location: can_administer
Title: GARS - Admin Can Administer
Execution Order: 5
Plugin PHP Code:
Code:
if (in_array('canadmingars', $do))
{
$garsadminperms = $vbulletin->db->query_first("SELECT garsadminperms
FROM " . TABLE_PREFIX . "administrator
WHERE userid = " . intval($vbulletin->userinfo['userid']) . "
");
if ($garsadminperms['garsadminperms'])
{
$return_value = true;
}
}
Plugin is Active: Yes