Index: pathauto_node.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto_node.inc,v
retrieving revision 1.29.2.2
diff -u -p -r1.29.2.2 pathauto_node.inc
--- pathauto_node.inc	17 Jan 2007 16:53:41 -0000	1.29.2.2
+++ pathauto_node.inc	19 Jan 2007 23:20:52 -0000
@@ -159,7 +159,7 @@ function node_get_placeholders($node) {
     
     // I'd use more descriptive variables, but the content isn't always a tid
     foreach ($node->taxonomy as $key => $value) { 
-      if ($key == 'tags') { 
+      if (strcmp($key,'tags') == 0) {  
         // It's a freetag so make sure that there is a value in the array
         // Shamelessly stolen from taxonomy_node_save - most of it should be refactored out of that
         // So it can be easily reused, but until then: copy-paste-antipattern here we come!
