Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed issue with invites not being sent

  • Loading branch information...
commit 81dcb4acf5859da1da3fbab30c125eb7ee4058f1 1 parent 846b851
@benjamw authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 classes/game.class.php
View
5 classes/game.class.php
@@ -373,10 +373,11 @@ public function invite( )
$required = array(
'white_id' ,
'black_id' ,
- 'extra_info' ,
);
- $key_list = $required;
+ $key_list = array_merge($required, array(
+ 'extra_info' ,
+ ));
try {
$_DATA = array_clean($_P, $key_list, $required);
Please sign in to comment.
Something went wrong with that request. Please try again.