--- custom_breadcrumbs.module.orig	2011-11-07 09:41:03.511487228 +0100
+++ custom_breadcrumbs.module	2011-11-07 09:47:31.431298397 +0100
@@ -61,8 +61,14 @@ function custom_breadcrumbs_nodeapi($nod
       $titles = preg_split("/[\n]+/", $breadcrumb->titles);
       $paths = preg_split("/[\n]+/", $breadcrumb->paths);
 
-      $titles = module_exists('token') ? token_replace($titles, 'node', $node) : $titles;
-      $paths = module_exists('token') ? token_replace($paths, 'node', $node) : $paths;
+      if (module_exists('token')) {
+        foreach ($titles as $key => $value) {
+          $titles[$key] = token_replace($value, 'node', $node);
+        }
+        foreach ($paths as $key => $value) {
+          $paths[$key] = token_replace($value, 'node', $node);
+        }
+      }
 
       $trail = array(l(t('Home'), '<front>'));
       for ($i = 0; $i < count($titles); $i++) {
