? .svn
? po/.svn
Index: directory.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/directory/directory.module,v
retrieving revision 1.11.2.29
diff -u -p -r1.11.2.29 directory.module
--- directory.module	16 Jul 2007 08:54:49 -0000	1.11.2.29
+++ directory.module	24 Sep 2007 23:31:27 -0000
@@ -555,6 +555,7 @@ function theme_directory_resource($tid, 
       $node = _first($nodes);
 	    $term = $node->taxonomy[$tid]; // MJC: was $nodes[0] which seems not to exist.. why? get_nodes_by_term uses nid as index into array!
       $output .= theme('directory_resource_section', $nodes, $term);
+      $output .= theme('pager', array(), $num_results_per_page, $pager_count - 1);
     }
     else {
       // FIXME: what is the use of this else{} block? We are returning $output, not $term!
