Index: headinganchors.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/tableofcontents/headinganchors.module,v
retrieving revision 1.2.4.2.2.2
diff -u -p -r1.2.4.2.2.2 headinganchors.module
--- headinganchors.module	15 Feb 2008 18:32:12 -0000	1.2.4.2.2.2
+++ headinganchors.module	5 May 2008 03:47:02 -0000
@@ -99,7 +99,7 @@ function headinganchors_filter($op, $del
           $anchors[$anchor]++;
         }
         else {
-          $anchors[$anchor] = 0;
+          $anchors[$anchor] = 1;
         }
         if ($anchors[$anchor] > 0) {
           $anchor .= "-" . $anchors[$anchor];
