Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
09ed948a
Commit
09ed948a
authored
Jan 20, 2009
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#291026
follow-up by Dave Reid: Fix incorrect variable name.
parent
79b740ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
includes/common.inc
includes/common.inc
+1
-1
No files found.
includes/common.inc
View file @
09ed948a
...
...
@@ -800,7 +800,7 @@ function _drupal_log_error($error, $fatal = FALSE) {
// Force display of error messages in update.php or if the proper error
// reporting level is set.
$error_level
=
variable_get
(
'error_level'
,
2
);
if
(
$error_level
==
2
||
(
$error_level
==
1
&&
$type
!=
'Notice'
)
||
(
defined
(
'MAINTENANCE_MODE'
)
&&
MAINTENANCE_MODE
==
'update'
))
{
if
(
$error_level
==
2
||
(
$error_level
==
1
&&
$
error
[
'%
type
'
]
!=
'Notice'
)
||
(
defined
(
'MAINTENANCE_MODE'
)
&&
MAINTENANCE_MODE
==
'update'
))
{
drupal_set_message
(
t
(
'%type: %message in %function (line %line of %file).'
,
$error
),
'error'
);
}
...
...
Write
Preview
Markdown
is supported
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