in file i18nblocks.module line ~79 is currently:

list($module, $gamma) = explode('_',$path);

if someone has a module name like nice_menus it grabs the module to be 'nice' and the gamma to be 'menus' here is a solution:

$pos = strrpos($path, "_");
$module = substr($path, 0, $pos);
$gamma = substr($path, $pos + 1);

hope this helps

Comments

mgifford’s picture

Thanks.. I was banging my head against this problem this afternoon..

Mike

schittli’s picture

Thanks a lot for this bugfix!!!, You saved me a lot of time.

Kind regards,
Thomas

juanfe’s picture

Status: Active » Closed (duplicate)