Korrekturen der Einbindung von wettkampfkalenderlosen Events
zum Commit vorgemerkte Änderungen: geändert: wkParticipo/admin/adminAddStarter.php geändert: wkParticipo/admin/listEvents.php geändert: wkParticipo/admin/newsLetter.php geändert: wkParticipo/admin/showEvent.php geändert: wkParticipo/admin/showFahrt.php geändert: wkParticipo/index.php geändert: wkParticipo/lib/wkParticipoLib.inc.php
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
}
|
||||
else{
|
||||
// Abfrage der Eventdaten
|
||||
$eventData = getEventData($mysqli, $_POST['f']['eventId']);
|
||||
$eventData = getWkEventData($mysqli, $_POST['f']['eventId']);
|
||||
if( empty($eventData) ) $message['error'] = 'Fehler: keine Eventdaten zurückgeliefert!';
|
||||
else{
|
||||
// Abfrage der Starterdaten des Events
|
||||
@@ -174,6 +174,11 @@
|
||||
echo("<tr><th>Name</th><th>Vorname</th><th>Masse</th><th>Platz</th><th>starterId</th><th>fahrtId</th></tr>");
|
||||
|
||||
foreach( $starterData as $starter ){
|
||||
if( empty($starter) ){
|
||||
echo("Keine ".$typeKey." für dieses Event!");
|
||||
continue;
|
||||
}
|
||||
|
||||
if($starter['type'] != $typeKey) continue;
|
||||
echo("<tr>");
|
||||
$userData = getUserData($mysqli, $starter['userId']);
|
||||
|
||||
Reference in New Issue
Block a user