Index: src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
===================================================================
--- src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java	(revision 1523182)
+++ src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java	(working copy)
@@ -287,7 +287,7 @@
                                    int difference, double totalDemerits, KnuthNode previous) {
         return new KnuthPageNode(position, line, fitness,
                                  totalWidth, totalStretch, totalShrink,
-                                 insertedFootnotesLength, footnoteListIndex, footnoteElementIndex,
+                                 totalFootnotesLength, footnoteListIndex, footnoteElementIndex,
                                  adjustRatio, availableShrink, availableStretch,
                                  difference, totalDemerits, previous);
     }
@@ -405,6 +405,8 @@
                     resetFootnotes(((KnuthBlockBox) resetElement).getElementLists());
                 }
             }
+	    footnoteElementIndex = ((KnuthPageNode) restartingNode).footnoteElementIndex;
+	    footnoteListIndex = ((KnuthPageNode) restartingNode).footnoteListIndex;
         }
         return returnValue;
     }
