Index: pathauto.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.inc,v retrieving revision 1.45.2.10 diff -u -p -r1.45.2.10 pathauto.inc --- pathauto.inc 20 Feb 2010 03:05:19 -0000 1.45.2.10 +++ pathauto.inc 2 Jul 2010 08:43:58 -0000 @@ -137,6 +137,9 @@ function pathauto_cleanstring($string, $ $ignore_re = '\b'. preg_replace('/,/', '\b|\b', variable_get('pathauto_ignore_words', $ignore_words)) .'\b'; if (function_exists('mb_eregi_replace')) { + if(is_array($output)){ + $output = array_shift($output); + } $output = mb_eregi_replace($ignore_re, '', $output); } else {