diff options
author | David Bernard <davidbernard04@gmail.com> | 2018-02-11 15:24:03 -0500 |
---|---|---|
committer | David Bernard <davidbernard04@gmail.com> | 2018-02-11 15:24:03 -0500 |
commit | 4090438d13bc543d09f2d2ffeabb56d82213cada (patch) | |
tree | 9d73a7a09ed8fcfdda4ba0d0cc19d54218f106c4 /html/import/import_playerstuff.php | |
parent | 5162078fe311a8193fb9255a39d1e786a2a13652 (diff) |
Fix CTF import and player profile for non-team matches.
Diffstat (limited to 'html/import/import_playerstuff.php')
-rw-r--r--[-rwxr-xr-x] | html/import/import_playerstuff.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/html/import/import_playerstuff.php b/html/import/import_playerstuff.php index 73714e4..cf80b25 100755..100644 --- 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
|