From f0f7319b188202903ed894828c364b6826b5b09f Mon Sep 17 00:00:00 2001 From: Allen Shaw Date: Tue, 24 Oct 2017 16:04:43 -0500 Subject: [PATCH] Fix CRM-21347 Joomla auto-save of features fails I think JHTML::_() needs separate arguments rather than an array of named parameters. This at least matches what I see in other Joomla code, and it works to solve the problem. --- libraries/joomla/form/fields/civiperms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/joomla/form/fields/civiperms.php b/libraries/joomla/form/fields/civiperms.php index 26a90bea..d409c23c 100644 --- a/libraries/joomla/form/fields/civiperms.php +++ b/libraries/joomla/form/fields/civiperms.php @@ -47,7 +47,7 @@ protected function bootstrapCivi() { protected function getInput() { JHtml::_('bootstrap.tooltip'); // Add Javascript for permission change - JHtml::_('script', 'system/permissions.js', array('version' => 'auto', 'relative' => true)); + JHtml::_('script', 'system/permissions.js', FALSE, TRUE); // Load JavaScript message titles JText::script('ERROR'); JText::script('WARNING');