* fixed displaying houses on TFS 1.x and higher

* fixed latest migration mysql error (23)
* fixed some config warning about highscores_balance
This commit is contained in:
slawkens1
2018-01-27 12:38:50 +01:00
parent 55ab90a481
commit 57d8e0b06f
3 changed files with 4 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ $type = '';
echo '<br/>';
if(isset($_POST['town']) && isset($_POST['state']) && isset($_POST['order'])
&& (isset($_POST['type']) || !$db->hasTable('houses', 'guild')))
&& (isset($_POST['type']) || !$db->hasColumn('houses', 'guild')))
{
$order = $_POST['order'];
$orderby = '`name`';