|
|
@@ -72,7 +72,7 @@ function add_player( $maintainer, $player ) {
|
|
|
// handle the exception here
|
|
|
}
|
|
|
$query = <<<QUERY
|
|
|
- INSERT INTO player_properties (maintainer, player, property)
|
|
|
+ INSERT OR REPLACE INTO player_properties (maintainer, player, property)
|
|
|
VALUES (?, ?, ?)
|
|
|
QUERY;
|
|
|
$stmt = $pdo->prepare( $query );
|