summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/theme.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index bcceb3fb5..4b55c5aee 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -763,6 +763,7 @@ function theme($hook, $variables = array()) {
if (!isset($hooks[$hook])) {
watchdog('theme', 'Theme key "@key" not found.', array('@key' => $hook), WATCHDOG_WARNING);
+ return '';
}
$info = $hooks[$hook];