fix: Remove PHP syntax error in certificate reports template

Remove unmatched catch block and duplicate PHP closing tags that were
causing parse errors and 500 status responses on the certificate
reports page.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
bengizmo 2025-05-22 20:59:35 -03:00
parent 43e0bb10f5
commit 66680590dc

View file

@ -319,10 +319,3 @@ wp_localize_script('hvac-certificate-actions-js', 'hvacCertificateData', array(
// Close the try block
get_footer();
?>
<?php
// Catch any late exceptions
} catch (Exception $e) {
echo '<div class="hvac-error">Error in certificate reports: ' . esc_html($e->getMessage()) . '</div>';
}
?>