Skip to content

Commit 022d599

Browse files
committed
Fix endless loop
1 parent 4929bb9 commit 022d599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/update_530-600.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
$query = $sql->prepare("SELECT `id`,`appID`,`shorten` FROM `servertypes` WHERE `appID` IS NOT NULL AND `serverID` IS NULL");
6464
$query->execute();
6565
while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
66-
$query->execute(array(workAroundForValveChaos($row['appID'], $row['shorten'], true), $row['id']));
66+
$query2->execute(array(workAroundForValveChaos($row['appID'], $row['shorten'], true), $row['id']));
6767
}
6868

6969
$query = $sql->prepare("INSERT INTO `easywi_version` (`version`,`de`,`en`) VALUES

0 commit comments

Comments
 (0)