removed obsolete query

This commit is contained in:
Roland Gruber 2008-01-08 18:18:53 +00:00
parent 31eaed9e4a
commit fbfe265310
1 changed files with 1 additions and 5 deletions

View File

@ -64,11 +64,7 @@ function createModulePDF($accounts,$pdf_structure="default") {
global $key;
// Get account type from account container if none was specified or
// if it is different to the submitted or previous stored
if($account_type == "" || $account_type != $accounts[0]->get_type()) {
$account_type = $accounts[0]->get_type();
}
$account_type = $accounts[0]->get_type();
// Get PDF structure from xml file
$load = loadPDFStructureDefinitions($account_type,$pdf_structure);
$structure = $load['structure'];