Skip to content

Commit c33be5d

Browse files
committed
Adapt correct table
1 parent 022d599 commit c33be5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/update_530-600.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@
4747

4848
$serverIDMissing = true;
4949

50-
$query = $sql->prepare("SHOW COLUMNS FROM `settings` WHERE `Field`='serverID'");
50+
$query = $sql->prepare("SHOW COLUMNS FROM `servertypes` WHERE `Field`='serverID'");
5151
$query->execute();
5252
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
5353
$serverIDMissing = false;
5454
}
5555

5656
if ($serverIDMissing) {
57-
$query = $sql->prepare("ALTER TABLE `settings` ADD `serverID` INT(10) UNSIGNED");
57+
$query = $sql->prepare("ALTER TABLE `servertypes` ADD `serverID` INT(10) UNSIGNED");
5858
$query->execute();
5959
$query->closecursor();
6060
}

0 commit comments

Comments
 (0)