Apache FOP Code fix

Code fix
by
JM
:

Bugfix: Fixed an NPE that was thrown when a table was used inside a footnote-body.