Created
February 20, 2012 18:41
-
-
Save redterror/1870620 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function error_displayable($error = NULL) { | |
- $error_level = variable_get('error_level', ERROR_REPORTING_DISPLAY_ALL); | |
+ //$error_level = variable_get('error_level', ERROR_REPORTING_DISPLAY_ALL); | |
+ // Set the default to HIDE, which is what we want. Why this doesn't work from the admin interface isn't clear. | |
+ $error_level = variable_get('error_level', ERROR_REPORTING_HIDE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment