1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

smart_build: fix one possible performance problem

This commit is contained in:
czaks 2015-04-11 21:41:22 +02:00
parent bdda1613a6
commit 00ad1ecf15

View File

@ -80,7 +80,7 @@ function sb_thread_slugcheck50($b, $thread) {
return sb_thread($b, $thread, 50);
}
function sb_api($b) { global $config;
function sb_api($b) { global $config, $build_pages;
if (!openBoard($b)) return false;
$config['try_smarter'] = true;
$build_pages = array(-1);