? 231292_32_mb_ereg_replacing.patch
Index: pathauto.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.inc,v
retrieving revision 1.1.2.40
diff -u -p -r1.1.2.40 pathauto.inc
--- pathauto.inc	10 May 2008 20:57:08 -0000	1.1.2.40
+++ pathauto.inc	13 May 2008 07:52:48 -0000
@@ -161,8 +161,8 @@ function pathauto_cleanstring($string, $
   // Get rid of words that are on the ignore list
   $ignore_re = "\b". preg_replace('/,/', "\b|\b", variable_get('pathauto_ignore_words', $ignore_words)) ."\b";
 
-  if (function_exists('mb_ereg_replace')) {
-    $output = mb_ereg_replace("/$ignore_re/i", '', $output);
+  if (function_exists('mb_eregi_replace')) {
+    $output = mb_eregi_replace("/$ignore_re/i", '', $output);
   }
   else {
     $output = preg_replace("/$ignore_re/i", '', $output);
