Index: /trunk/glueforge/templates/psdb/code.tt
===================================================================
--- /trunk/glueforge/templates/psdb/code.tt	(revision 4173)
+++ /trunk/glueforge/templates/psdb/code.tt	(revision 4174)
@@ -11,4 +11,5 @@
 [% INCLUDE pop.tt %]
 [% INCLUDE insertobject.tt %]
-[% INCLUDE popobject.tt -%]
+[% INCLUDE popobject.tt %]
+[% INCLUDE popfits.tt %]
 [% INCLUDE selectrowsfits.tt -%]
Index: /trunk/glueforge/templates/psdb/popfits.tt
===================================================================
--- /trunk/glueforge/templates/psdb/popfits.tt	(revision 4174)
+++ /trunk/glueforge/templates/psdb/popfits.tt	(revision 4174)
@@ -0,0 +1,4 @@
+bool [% namespace %]PopFits(psDB *dbh, psFits *fits, unsigned long limit)
+{
+    return [% namespace %]SelectRowsFits(dbh, fits, NULL, limit);
+}
