Fix numfig got error if table without title exists

This commit is contained in:
tk0miya 2014-10-01 22:15:29 +09:00
parent 5046abbaee
commit 0d28a95f85

View File

@ -1747,7 +1747,7 @@ class BuildEnvironment:
continue
figtype = get_figtype(subnode)
if figtype:
if figtype and subnode['ids']:
register_fignumber(docname, secnum,
figtype, subnode['ids'][0])