Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'Undefined variable' PHP notice in API REST
Since the Slim Container's 'displayErrorDetails' setting is set to true according to $t_show_detailed_errors's value, instead of referencing the variable directly within the closure via a 'use' statement, we retrieve the Container's settings to determine whether PHP exception details should be shown or not. Remove $t_show_detailed_errors variable as it is no longer needed. Regression introduced by b2119ce. Fixes #25429
- Loading branch information