Skip to content

Commit

Permalink
Fix PHP error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dlougach committed Apr 15, 2024
1 parent fd10712 commit 1ae9799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion misc_scripts/reset_db.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
--------------------------------------------------------
TRUNCATING ALL THE RELEVANT TABLES
<?php
$to_truncate = array('entries', 'submissions', 'teams', 'persons', `team_persons`, 'problems', 'team_regions');
$to_truncate = array('entries', 'submissions', 'teams', 'persons', 'team_persons', 'problems', 'team_regions');
foreach ($to_truncate as $table) {
$sql = "DELETE FROM $table;\n";
print("CLEARING TABLE $table;\n");
Expand Down

0 comments on commit 1ae9799

Please sign in to comment.