Index: pathauto_node.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/pathauto/pathauto_node.inc,v
retrieving revision 1.20
diff -u -r1.20 pathauto_node.inc
--- pathauto_node.inc   8 May 2006 12:14:15 -0000       1.20
+++ pathauto_node.inc   22 Aug 2006 14:42:31 -0000
@@ -264,7 +264,7 @@
     "INNER JOIN {node} n ON a.src = CONCAT('node/', n.nid)  ".
     "WHERE n.status = 1 AND a.dst LIKE '$prefix%' ".
     'ORDER BY n.sticky DESC, n.created DESC';
-  $result = pager_query(db_rewrite_sql($query, $prefix),
+  $result = pager_query(db_rewrite_sql($query),
     variable_get('default_nodes_main', 10));

   $output = '';
