summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/rebuild.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/rebuild.php b/tools/rebuild.php
index 3b5c0de2..13452264 100644
--- a/tools/rebuild.php
+++ b/tools/rebuild.php
@@ -81,7 +81,7 @@ foreach($boards as &$board) {
continue; // do no more
if($options['full']) {
- $query = query(sprintf("SELECT `id` FROM `posts_%s`", $board['uri'])) or error(db_error());
+ $query = query(sprintf("SELECT `id` FROM ``posts_%s``", $board['uri'])) or error(db_error());
while($post = $query->fetch()) {
if(!$options['quiet'])
echo "Rebuilding #{$post['id']}...\n";
@@ -89,7 +89,7 @@ foreach($boards as &$board) {
}
}
- $query = query(sprintf("SELECT `id` FROM `posts_%s` WHERE `thread` IS NULL", $board['uri'])) or error(db_error());
+ $query = query(sprintf("SELECT `id` FROM ``posts_%s`` WHERE `thread` IS NULL", $board['uri'])) or error(db_error());
while($post = $query->fetch()) {
if(!$options['quiet'])
echo "Rebuilding #{$post['id']}...\n";