From 00ad1ecf1560c663e56b53e5686d13d021c195ba Mon Sep 17 00:00:00 2001 From: czaks Date: Sat, 11 Apr 2015 21:41:22 +0200 Subject: [PATCH] smart_build: fix one possible performance problem --- smart_build.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smart_build.php b/smart_build.php index 993d7858..31d8110a 100644 --- a/smart_build.php +++ b/smart_build.php @@ -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);