Fix feed alias?

The variable $feedappend holds the string specified by the use in the "Node
path settings" under "Automated alias settings".

Now this is used to set the feed source path provided by drupal itself, either
this is wrong or a way to specify the actual aliased path is missing.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>

Index: pathauto/pathauto.inc
===================================================================
--- pathauto.orig/pathauto.inc	2009-04-18 16:16:53.000000000 +0200
+++ pathauto/pathauto.inc	2009-04-18 16:18:15.000000000 +0200
@@ -328,12 +328,12 @@
 
     // For forums and taxonomies, the src doesn't always form the base of the rss feed (ie. image galleries)
     if ($module == 'taxonomy' || $module == 'forum') {
-      $update_data = _pathauto_existing_alias_data("taxonomy/term/$entity_id/$feedappend");
-      _pathauto_set_alias("taxonomy/term/$entity_id/$feedappend", "$alias/feed", $module, $entity_id, $update_data['pid'], $verbose, $update_data['old_alias'], $language);
+      $update_data = _pathauto_existing_alias_data("taxonomy/term/$entity_id/feed");
+      _pathauto_set_alias("taxonomy/term/$entity_id/feed", "$alias/$feedappend", $module, $entity_id, $update_data['pid'], $verbose, $update_data['old_alias'], $language);
     }
     else {
-      $update_data = _pathauto_existing_alias_data("$src/$feedappend");
-      _pathauto_set_alias("$src/$feedappend", "$alias/feed", $module, $entity_id, $update_data['pid'], $verbose, $update_data['old_alias'], $language);
+      $update_data = _pathauto_existing_alias_data("$src/feed");
+      _pathauto_set_alias("$src/feed", "$alias/$feedappend", $module, $entity_id, $update_data['pid'], $verbose, $update_data['old_alias'], $language);
     }
   }
 
