mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
* 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:
@@ -323,7 +323,7 @@ echo '
|
||||
if($config['highscores_frags']) {
|
||||
$types['frags'] = 'Frags';
|
||||
}
|
||||
if($config['highscores_balance'])
|
||||
if(isset($config['highscores_balance']) && $config['highscores_balance'])
|
||||
$types['balance'] = 'Balance';
|
||||
|
||||
foreach($types as $link => $name) {
|
||||
|
@@ -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`';
|
||||
|
Reference in New Issue
Block a user