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:
parent
df0813e9d8
commit
b8cc793021
@ -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'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user