Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
9ccb2bef
Commit
9ccb2bef
authored
Mar 29, 2017
by
Côme Chilliet
Browse files
Return FALSE in case of error_reporting of 0 to allow catching errors of fopen with error_get_last
parent
9e40fddb
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/php_setup.inc
View file @
9ccb2bef
...
...
@@ -169,7 +169,7 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline)
/* Return if error reporting is set to zero */
if
(
error_reporting
()
==
0
)
{
set_error_handler
(
'gosaRaiseError'
,
E_WARNING
|
E_NOTICE
|
E_USER_ERROR
|
E_USER_WARNING
|
E_USER_NOTICE
|
E_STRICT
);
return
;
return
FALSE
;
}
/* Workaround for buggy imap_open error outputs */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment