Skip to content

Commit

Permalink
Update dbh.inc.php
Browse files Browse the repository at this point in the history
  • Loading branch information
silverhadch authored Nov 11, 2024
1 parent 8cd2a4b commit e53d799
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbh.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function setbestplayer(){
// Überprüfen, ob es mehrere Spieler mit den höchsten Punkten gibt
$anzahl_max_punkte = 0;
$bestplayer_id = 0;
//guck ob es mehrer spieler gibt (höchst ineffekter Code aber scheiß egal)
//guck ob es mehrer spieler gibt (höchst ineffekter Code aber egal)
if ($debate_points_pro_Player_1 == $max_punkte) {
$anzahl_max_punkte++;
$bestplayer_id = $debate_pro_Player_1;
Expand Down Expand Up @@ -311,7 +311,7 @@ function endDebate($pdo) {
updatePlayerPoints($pdo, $debate_con_Player_3, $debate_points_con_Player_3);
echo "Successfully sent all results to the Database!!!!";
} catch (PDOException $e) {
echo "Error in endDebate Function. Contact Henrik and Hadi!!!! -" . $e->getMessage() . "<br>";
echo "Error in endDebate Function. Contact the Admins!!!! -" . $e->getMessage() . "<br>";
}
}

Expand Down

0 comments on commit e53d799

Please sign in to comment.