We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddaf6c2 commit c281e23Copy full SHA for c281e23
1 file changed
src/Saver/MongoSaver.php
@@ -20,7 +20,9 @@ public function isSupported()
20
21
public function save(array $data)
22
{
23
- $data['profile'] = $this->encodeProfile($data['profile']);
+ if (isset($data['profile'])) {
24
+ $data['profile'] = $this->encodeProfile($data['profile']);
25
+ }
26
27
$result = parent::save($data);
28
0 commit comments