summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to 'inc')
-rw-r--r--inc/functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/functions.php b/inc/functions.php
index 95f1216f..b38613b8 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -226,6 +226,7 @@
}
function boardTitle($uri) {
+ global $config;
if($config['cache']['enabled'] && ($board = cache::get('board_' . $uri))) {
return $board['title'];
}