Skip to content

Commit

Permalink
Homepage|Master Server|Fixed: There may not be a data pair for an ent…
Browse files Browse the repository at this point in the history
…ry in servers.dat

If a property entry in servers.dat did not have a data pair then this
would result in a silent error upon attempting to push a value for it
into the info record for a server.
  • Loading branch information
danij-deng committed Feb 29, 2012
1 parent 13bf214 commit a069d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/classes/masterserver.class.php
Expand Up @@ -95,7 +95,7 @@ private function load()
else
{
$parts = split(" ", $line);
$info[$parts[0]] = urldecode($parts[1]);
$info[$parts[0]] = isset($parts[1])? urldecode($parts[1]) : "";
}
}
}
Expand Down

0 comments on commit a069d6b

Please sign in to comment.