Fix PHP syntax error in try-catch block structure
- Fixed nested try-catch block structure in saveValidatedPDF method - Corrected indentation and block nesting - Resolved 'unexpected token catch' syntax error - ECM integration code now has proper syntax - Validation should work without parse errors
This commit is contained in:
parent
faf7b3a00a
commit
00157f2634
@ -1186,9 +1186,10 @@ class DeclarationTVA
|
||||
// Log the error but don't fail the whole process
|
||||
error_log("DeclarationTVA: Exception creating ECM file: " . $e->getMessage());
|
||||
}
|
||||
} else {
|
||||
// Log that ECM files class is not available
|
||||
error_log("DeclarationTVA: ECM files class not found. Tried paths: " . implode(', ', $ecmfiles_paths));
|
||||
} else {
|
||||
// Log that ECM files class is not available
|
||||
error_log("DeclarationTVA: ECM files class not found. Tried paths: " . implode(', ', $ecmfiles_paths));
|
||||
}
|
||||
}
|
||||
|
||||
// Return true even if ECM file creation failed - the PDF is still saved to disk
|
||||
|
||||
Loading…
Reference in New Issue
Block a user