This is not TESTED!
But you can try it, if not it will be a start to fixing the depreciated each() function.
Change line 83 or 84 - in third_party/MX/Modules.php -
PHP Code:
(is_array($module)) ? list($module, $params) = each($module) : $params = NULL;
Add this code and see if it will fix the problem for you.
PHP Code:
if (is_array($module))
{
$temp = $module;
$module = key($temp);
$params = current($temp);
list($module, $params);
}
else
{
$params = NULL;
}
Remember this is not TESTED...
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )