1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +01:00

Forgot a global in boardTitle function.

This commit is contained in:
Michael D. Reiley 2011-10-08 12:55:56 -07:00
parent df0813e9d8
commit b8cc793021

View File

@ -226,6 +226,7 @@
} }
function boardTitle($uri) { function boardTitle($uri) {
global $config;
if($config['cache']['enabled'] && ($board = cache::get('board_' . $uri))) { if($config['cache']['enabled'] && ($board = cache::get('board_' . $uri))) {
return $board['title']; return $board['title'];
} }