Fix parse error

This commit is contained in:
David Stone
2025-02-07 22:58:06 -07:00
parent 8433379d90
commit d71413886b

View File

@ -1150,9 +1150,9 @@ class Membership extends Base_Model {
if ($this->get_status() !== Membership_Status::CANCELLED) {
return '';
}))
}
if ($this->cancellation_reason === null) {
if (null === $this->cancellation_reason) {
$this->cancellation_reason = $this->get_meta('cancellation_reason');
}