Commit 47877683 authored by catch's avatar catch
Browse files

Issue #1723828 by hass: Fixed Rename theme key to theme hook in error message.

parent 0ad22f5c
...@@ -913,7 +913,7 @@ function theme($hook, $variables = array()) { ...@@ -913,7 +913,7 @@ function theme($hook, $variables = array()) {
// Only log a message when not trying theme suggestions ($hook being an // Only log a message when not trying theme suggestions ($hook being an
// array). // array).
if (!isset($candidate)) { 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 ''; return '';
} }
......
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