ignore non-existent entries
This commit is contained in:
parent
d8806f3cae
commit
9fc4b4f946
|
@ -117,7 +117,8 @@ function createModulePDF($accounts,$pdf_structure="default") {
|
|||
elseif($entry['tag'] == "ENTRY") {
|
||||
// Get name of current entry
|
||||
$name = $entry['attributes']['NAME'];
|
||||
|
||||
// skip non-existent entries
|
||||
if (isset($entries[$name])) {
|
||||
// Get current entry
|
||||
$value_entry = $entries[$name];
|
||||
|
||||
|
@ -133,6 +134,7 @@ function createModulePDF($accounts,$pdf_structure="default") {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
$key = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue