Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
47877683
Commit
47877683
authored
Aug 23, 2012
by
catch
Browse files
Issue
#1723828
by hass: Fixed Rename theme key to theme hook in error message.
parent
0ad22f5c
Changes
1
Show whitespace changes
Inline
Side-by-side
core/includes/theme.inc
View file @
47877683
...
...
@@ -913,7 +913,7 @@ function theme($hook, $variables = array()) {
// Only log a message when not trying theme suggestions ($hook being an
// array).
if
(
!
isset
(
$candidate
))
{
watchdog
(
'theme'
,
'Theme
key "@key"
not found.'
,
array
(
'
@key
'
=>
$hook
),
WATCHDOG_WARNING
);
watchdog
(
'theme'
,
'Theme
hook %hook
not found.'
,
array
(
'
%hook
'
=>
$hook
),
WATCHDOG_WARNING
);
}
return
''
;
}
...
...
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