From 4090438d13bc543d09f2d2ffeabb56d82213cada Mon Sep 17 00:00:00 2001 From: David Bernard Date: Sun, 11 Feb 2018 15:24:03 -0500 Subject: Fix CTF import and player profile for non-team matches. --- html/import/import_playerstuff.php | 4 ++++ 1 file changed, 4 insertions(+) mode change 100755 => 100644 html/import/import_playerstuff.php (limited to 'html/import/import_playerstuff.php') diff --git a/html/import/import_playerstuff.php b/html/import/import_playerstuff.php old mode 100755 new mode 100644 index 73714e4..cf80b25 --- a/html/import/import_playerstuff.php +++ b/html/import/import_playerstuff.php @@ -130,6 +130,10 @@ $r_ttl = get_dp($q_ttl[col4]); $r_score = $q_score[col4]; + if (!$playerteam) { + $playerteam = 0; + } + // Generate player record $sql_playerid = " INSERT INTO uts_player -- cgit From 75336d392c3945097e9b932d8d2074059cdaccf8 Mon Sep 17 00:00:00 2001 From: David Bernard Date: Mon, 19 Feb 2018 19:15:13 -0500 Subject: Fix access rights to 755. --- html/import/import_playerstuff.php | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 html/import/import_playerstuff.php (limited to 'html/import/import_playerstuff.php') diff --git a/html/import/import_playerstuff.php b/html/import/import_playerstuff.php old mode 100644 new mode 100755 -- cgit