Index: permalink.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/permalink/permalink.module,v
retrieving revision 1.3.2.3
diff -u -p -r1.3.2.3 permalink.module
--- permalink.module	15 Sep 2009 20:48:58 -0000	1.3.2.3
+++ permalink.module	15 Sep 2009 22:57:49 -0000
@@ -301,7 +301,7 @@ function permalink_link_render($type, $o
   }
 
   // Add relations to link if any exist.
-  if (!empty($relations)) {
+  if (!empty($relationships)) {
     $link['attributes']['rel'] = implode(' ', $relationships);
   }
 
@@ -454,4 +454,4 @@ function permalink_comment_get_display_o
   }
   $data = db_result(db_query($sql, $args));
   return db_result(db_query($sql, $args));
-}
\ No newline at end of file
+}
