Fix for Aridatatables

When Aridatatables is installed on a website with the jat3 framework installed, it will load the modulehelper class without checking if the class is already loaded. This will cause an error when used with Frontend-User-Access and Access-Manager.

Here is how to fix that:

file:
plugins/content/aridatatables/kernel/Module/class.ModuleHelper.php
AND
modules/mod_aridatatables/includes/kernel/Module/class.ModuleHelper.php

if (function_exists('t3import'))

	t3import('core.joomla.modulehelper');

else if (!class_exists('JModuleHelper'))

	jimport('joomla.application.module.helper');

change to

if(!class_exists('JModuleHelper')){
	if (function_exists('t3import')){	
		t3import('core.joomla.modulehelper');	
	}else{	
		jimport('joomla.application.module.helper');
	}
}

 
Follow Us On Twitter