mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 06:27:52 +00:00
fix: add small fixes
This commit is contained in:
@@ -7404,7 +7404,6 @@ function spielerstatistiken(): void
|
||||
|
||||
foreach ($spielerstatistiken as $spielerstatistik) {
|
||||
//Mindestzahl an Spielen
|
||||
$spiele = null;
|
||||
$spielerstatistik->min_spiele = 0;
|
||||
if (in_array($spielerstatistik->tabellenwertung, [4, 5])) {
|
||||
$query = "SELECT siege + unentschieden + niederlagen AS spiele"
|
||||
@@ -7530,7 +7529,7 @@ function spielerstatistik(): void
|
||||
$spielerstatistik->max_spiele = $max_spiele;
|
||||
if ($filter_min_spiele == 999)
|
||||
$spielerstatistik->min_spiele = round($max_spiele/2);
|
||||
else if ($filter_min_spiele != 999)
|
||||
else
|
||||
$spielerstatistik->min_spiele = $filter_min_spiele;
|
||||
}
|
||||
|
||||
|
||||
@@ -1844,7 +1844,7 @@ static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spie
|
||||
$punkte_quotient = 0;
|
||||
$buchholz1_wert = 0;
|
||||
$buchholz2_wert = 0;
|
||||
$$gesamtpunkte_verloren = 0;
|
||||
$gesamtpunkte_verloren = 0;
|
||||
$k = 0;
|
||||
foreach ($teams as $team) {
|
||||
?>
|
||||
|
||||
@@ -790,7 +790,7 @@ return new class () implements InstallerScriptInterface
|
||||
. "\n `spielpunkte_bedingung` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `spielernamen` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `heimtausch` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `spiele_in_spielerstatistik` tinyint(4) NOT NULL DEFAULT '0'"
|
||||
. "\n `spiele_in_spielerstatistik` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n `modus` varchar(200) NOT NULL DEFAULT '',"
|
||||
. "\n `status` tinyint(4) NOT NULL DEFAULT '0',"
|
||||
. "\n PRIMARY KEY (`teamspiel_modus_id`)"
|
||||
|
||||
Reference in New Issue
Block a user