--- ../../corpuselectronica.com-template/htdocs/includes/bootstrap.inc	2005-04-05 15:00:24.000000000 -0400
+++ ./includes/bootstrap.inc	2005-04-24 17:58:48.000000000 -0400
@@ -373,8 +373,12 @@ function drupal_get_path_map($action = '
  * Given an internal Drupal path, return the alias set by the administrator.
  */
 function drupal_get_path_alias($path) {
-  if (($map = drupal_get_path_map()) && ($newpath = array_search($path, $map))) {
-    return $newpath;
+  if (($map = drupal_get_path_map())) {
+    while(($newpath = array_search($path, $map))) {
+      $path = $newpath;
+      unset($map[$path]);
+    }
+    return $path;
   }
   elseif (function_exists('conf_url_rewrite')) {
     return conf_url_rewrite($path, 'outgoing');
