It's been fixed in Scourge already. I haven't gotten a fix into the official DK code yet, but if you want to fix it yourself, here's the instructions:
In towns.php, go down to line 7 and put a blank line after it. Now line 7 should start with $townquery..., line 8 should be blank, and line 9 should start with $townrow....
In the blank line you just made, paste the following:
if(mysql_num_rows($townquery) != 1) { die("Cheat attempt detected."); }
Save and upload the file, and that'll fix it.
---Jamin