Pour que cela fonctionnne il faut remplacer :
return $this->display(__FILE__, 'blockpermanentlinks-header.tpl', $this->getCacheId('blockpermanentlinks-header'));
par
return $this->display(__FILE__, 'blockpermanentlinks-header.tpl', $this->getCacheId('blockpermanentlinks-header') . $this->context->customer->id);
Dans la fonction hook du module concerné.
Et bien sur blockpermanentlinks est à remplacer par le nom de votre module