summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2010-09-24 21:20:08 (GMT)
committerDries Buytaert2010-09-24 21:20:08 (GMT)
commit061ee9d44477dbbdb74dd2abdeb697d1e61bde25 (patch)
tree5d60b2255a1b4c777a5ce79c5b20cbdc83f86ac5
parent0274491dea0344f39c61b8ae37e54f9df131e3e7 (diff)
- Patch #921802 by solotandem: eliminate PHP Notice: Undefined variable: output in theme().
-rw-r--r--includes/theme.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 35854d4..96222de 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -870,6 +870,7 @@ function theme($hook, $variables = array()) {
}
// Generate the output using either a function or a template.
+ $output = '';
if (isset($info['function'])) {
if (function_exists($info['function'])) {
$output = $info['function']($variables);