1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +01:00

syntax error...

This commit is contained in:
Savetheinternet 2011-07-14 11:23:38 +10:00
parent db370493af
commit 56706495b2

View File

@ -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: