@@ -90,7 +90,6 @@ |
||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | - * @param integer $Nb |
|
| 94 | 93 | */ |
| 95 | 94 | private static function mixColumns($s) { // combine bytes of each col of state S [é5.1.3] |
| 96 | 95 | for ($c = 0; $c < 4; $c++) { |
@@ -206,8 +206,8 @@ |
||
| 206 | 206 | "INT(12) NOT NULL AUTO_INCREMENT FIRST, ADD PRIMARY KEY (`increment_id`)" |
| 207 | 207 | ); |
| 208 | 208 | if ($res === true) { |
| 209 | - // Change name of field |
|
| 210 | - mysqli_query($db_link, "ALTER TABLE `".$pre."misc` CHANGE `id` `increment_id` INT(12) NOT NULL AUTO_INCREMENT"); |
|
| 209 | + // Change name of field |
|
| 210 | + mysqli_query($db_link, "ALTER TABLE `".$pre."misc` CHANGE `id` `increment_id` INT(12) NOT NULL AUTO_INCREMENT"); |
|
| 211 | 211 | } elseif ($res === false) { |
| 212 | 212 | echo '[{"finish":"1", "msg":"", "error":"An error appears when adding increment_id user_ip to table misc! '.mysqli_error($db_link).'!"}]'; |
| 213 | 213 | mysqli_close($db_link); |