@@ -111,7 +111,7 @@  | 
                                                    ||
| 111 | 111 | );  | 
                                                        
| 112 | 112 | |
| 113 | 113 |          $result = $this->getMongo()->updateOne(array('_id' => $profile->getToken()), array( | 
                                                        
| 114 | -            '$set' => array_filter($record, function ($v) { | 
                                                        |
| 114 | +            '$set' => array_filter($record, function($v) { | 
                                                        |
| 115 | 115 | return !empty($v);  | 
                                                        
| 116 | 116 | }),  | 
                                                        
| 117 | 117 |          ), array('upsert' => true)); |