summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-07-14 11:23:38 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-07-14 11:23:38 +1000
commitb4b98a7edef6674bd010f6d11876276ee0f338a3 (patch)
tree3ddda2c66a297c008c9eaaf56e156ef4e29b7cb0 /install.php
parentbee3dc280d39386e81df6e143e80670aa917bac0 (diff)
syntax error...
Diffstat (limited to 'install.php')
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php
index 148ba9dd..cbb1f3f6 100644
--- a/install.php
+++ b/install.php
@@ -78,7 +78,7 @@
query("UPDATE `mods` SET `boards` = '*'") or error(db_error());
case 'v0.9.3-dev-2':
$boards = listBoards();
- foreach($boards as &_$board) {
+ foreach($boards as &$_board) {
query(sprintf("ALTER TABLE `posts_%s` CHANGE `filehash` `filehash` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL", $_board['uri'])) or error(db_error());
}
case false: