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
@ -1190,6 +1190,7 @@ class DeclarationTVA
|
|||||||
// Log that ECM files class is not available
|
// Log that ECM files class is not available
|
||||||
error_log("DeclarationTVA: ECM files class not found. Tried paths: " . implode(', ', $ecmfiles_paths));
|
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
|
// Return true even if ECM file creation failed - the PDF is still saved to disk
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user