summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-04-11 21:41:22 +0200
committerczaks <marcin@6irc.net>2015-04-11 21:41:22 +0200
commit00ad1ecf1560c663e56b53e5686d13d021c195ba (patch)
tree1c1731a40386808e42dee2b3aef4ef9215dfb72e
parentbdda1613a6bc4b88dfe9027dc0f330194654ad9c (diff)
smart_build: fix one possible performance problem
-rw-r--r--smart_build.php2
1 files changed, 1 insertions, 1 deletions
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);