everythins should be fixed now and work

This commit is contained in:
duergner 2004-05-27 19:07:50 +00:00
parent 8f68551944
commit 789e3ea7ff
1 changed files with 10 additions and 7 deletions

View File

@ -139,6 +139,8 @@ function createModulePDF($accounts,$account_type="") {
// Get current entry
$value_entry = $entries[$name];
// Print entry only when module sumitted values for it
if(is_array($value_entry)) {
// Loop over all rows of this entry (most of the time this will be just one)
foreach($value_entry as $line) {
// Substitue XML syntax with valid FPDF methods
@ -148,6 +150,7 @@ function createModulePDF($accounts,$account_type="") {
call_user_func_array(array(&$pdf,$method[0]),$method[1]);
}
}
}
$key = false;
}
}