Commit 405cb49a authored by Dries's avatar Dries
Browse files

- Patch #25084 by Uwe: fixed code comments of error_handler().

parent caf65e39
...@@ -448,8 +448,8 @@ function drupal_http_request($url, $headers = array(), $method = 'GET', $data = ...@@ -448,8 +448,8 @@ function drupal_http_request($url, $headers = array(), $method = 'GET', $data =
/** /**
* Log errors as defined by administrator * Log errors as defined by administrator
* Error levels: * Error levels:
* 1 = Log errors to database. * 0 = Log errors to database.
* 2 = Log errors to database and to screen. * 1 = Log errors to database and to screen.
*/ */
function error_handler($errno, $message, $filename, $line) { function error_handler($errno, $message, $filename, $line) {
if ($errno & (E_ALL ^ E_NOTICE)) { if ($errno & (E_ALL ^ E_NOTICE)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment