everythins should be fixed now and work
This commit is contained in:
parent
8f68551944
commit
789e3ea7ff
|
@ -139,13 +139,16 @@ function createModulePDF($accounts,$account_type="") {
|
||||||
// Get current entry
|
// Get current entry
|
||||||
$value_entry = $entries[$name];
|
$value_entry = $entries[$name];
|
||||||
|
|
||||||
// Loop over all rows of this entry (most of the time this will be just one)
|
// Print entry only when module sumitted values for it
|
||||||
foreach($value_entry as $line) {
|
if(is_array($value_entry)) {
|
||||||
// Substitue XML syntax with valid FPDF methods
|
// Loop over all rows of this entry (most of the time this will be just one)
|
||||||
$methods = processLine($line);
|
foreach($value_entry as $line) {
|
||||||
// Call every method
|
// Substitue XML syntax with valid FPDF methods
|
||||||
foreach($methods as $method) {
|
$methods = processLine($line);
|
||||||
call_user_func_array(array(&$pdf,$method[0]),$method[1]);
|
// Call every method
|
||||||
|
foreach($methods as $method) {
|
||||||
|
call_user_func_array(array(&$pdf,$method[0]),$method[1]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$key = false;
|
$key = false;
|
||||||
|
|
Loading…
Reference in New Issue