summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-24 21:20:08 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-24 21:20:08 +0000
commit061ee9d44477dbbdb74dd2abdeb697d1e61bde25 (patch)
tree5d60b2255a1b4c777a5ce79c5b20cbdc83f86ac5 /includes
parent0274491dea0344f39c61b8ae37e54f9df131e3e7 (diff)
downloadbrdo-061ee9d44477dbbdb74dd2abdeb697d1e61bde25.tar.gz
brdo-061ee9d44477dbbdb74dd2abdeb697d1e61bde25.tar.bz2
- Patch #921802 by solotandem: eliminate PHP Notice: Undefined variable: output in theme().
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 35854d4a8..96222de71 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);