|
@@ 113-115 (lines=3) @@
|
| 110 |
|
$match1['match_id'] = $matchdata['match_id']; // This is generated below and passed to listener |
| 111 |
|
$match1['team_id'] = $matchUp1[0][0]['team']; |
| 112 |
|
$match1['player1'] = $matchUp1[0][0]['player_id']; |
| 113 |
|
if(isset($matchUp1[0][1]['player_id'])){ |
| 114 |
|
$match1['player2'] = $matchUp1[0][1]['player_id']; |
| 115 |
|
} |
| 116 |
|
$match1['opponent'] = $matchUp1[1][0]['team']; |
| 117 |
|
$this->teammatch->create($match1); //save to match table |
| 118 |
|
|
|
@@ 122-124 (lines=3) @@
|
| 119 |
|
$match1['match_id'] = $matchdata['match_id']; // This is generated below and passed to listener |
| 120 |
|
$match1['team_id'] = $matchUp1[1][0]['team']; |
| 121 |
|
$match1['player1'] = $matchUp1[1][0]['player_id']; |
| 122 |
|
if(isset($matchUp1[1][1]['player_id'])){ |
| 123 |
|
$match1['player2'] = $matchUp1[1][1]['player_id']; |
| 124 |
|
} |
| 125 |
|
$match1['opponent'] = $matchUp1[0][0]['team']; |
| 126 |
|
$this->teammatch->create($match1); //save to match table |
| 127 |
|
|