b25126e52b49ad6842b77072901e77bd8f615cf1
- CompanyRepository::save() now catches PDOException and throws a RuntimeException with a human-readable message (duplicate name, etc.) - Also fixes unchecked checkboxes (requires_approval, is_active) not being saved as 0 on UPDATE - index.php save handler catches RuntimeException and redirects back to the form with an ?error= param instead of crashing with 500 - companyEdit() renders the error banner when ?error= is present Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
3.7 MiB
Languages
PHP
87.5%
HTML
10.7%
CSS
1.6%
JavaScript
0.1%