diff --git a/website/hiscores/submitscore.php b/website/hiscores/submitscore.php index 42f4cf1..c5e3fc7 100644 --- a/website/hiscores/submitscore.php +++ b/website/hiscores/submitscore.php @@ -14,7 +14,7 @@ sqlite_escape_string($easymode); # open hiscore database -if ($easymode == 1) { +if ($easymode) { $db = sqlite_open("hiscores.easy.db", 0666, $errorstr); } else { $db = sqlite_open("hiscores.db", 0666, $errorstr);