MINOR typo where display_errors wasn't checked properly
Merge pull request #2584 from ss23/patch-3

MINOR typo where display_errors wasn't checked properly