Skip to content

Commit

Permalink
πŸ‘Œ Trying to fix PHP Unit error
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel-James committed Apr 10, 2019
1 parent 8cf4e01 commit ee68587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/model/class-ms-model-relationship.php
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ public function is_trial_eligible() {
} elseif ( ! in_array( $this->status, $trial_eligible_status ) && ! $force ) {
// Current Subscription is not allowed for a trial membership anymore.
$eligible = false;
} elseif ( $this->trial_period_completed && ( ! empty( $this->trial_expire_date || ! $force ) ) ) {
} elseif ( ( $this->trial_period_completed && ( ! empty( $this->trial_expire_date || ! $force ) ) ) ) {
// Trial membership already consumed.
$eligible = false;
} else {
Expand Down

0 comments on commit ee68587

Please sign in to comment.