Changeset 36 for trunk


Ignore:
Timestamp:
Sep 10, 2020, 10:52:20 AM (4 years ago)
Author:
chronos
Message:
  • Fixed: Incorrect variable check.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r32 r36  
    255255          $TeamId = $Teams[$Item['GroupId']]['Id'];
    256256
    257 
    258257        // Update missing team names
    259         if ($Teams[$Item['GroupId']]['Name'] == "")
     258        if (!array_key_exists('Name', $Teams[$Item['GroupId']]) or $Teams[$Item['GroupId']]['Name'] == "")
    260259        {
    261260          $Queries[] = $this->Database->GetUpdate('Team', 'Id='.$TeamId, array(
Note: See TracChangeset for help on using the changeset viewer.