Skip to content

Commit 50d53a6

Browse files
committed
hotfix null username
1 parent ccc3908 commit 50d53a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: app/Models/Store/OrderItem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public function getCustomClassInstance()
115115
{
116116
// only one for now
117117
if ($this->product->custom_class === 'username-change') {
118-
return new ChangeUsername($this->order->user, $this->extra_info);
118+
return new ChangeUsername($this->order->user, $this->extra_info ?? '');
119119
}
120120
}
121121

0 commit comments

Comments
 (0)