Skip to content

Commit

Permalink
fix: php7.2対応
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nakajima committed Aug 10, 2019
1 parent 348d952 commit 4f23dd6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Model/CircularNoticeContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,7 @@ public function validateNotEmptyChoices($check) {
$this->data['CircularNoticeContent']['reply_type'] ==
CircularNoticeComponent::CIRCULAR_NOTICE_CONTENT_REPLY_TYPE_MULTIPLE_SELECTION
) {
if (! isset($this->data['CircularNoticeChoices']) ||
count($this->data['CircularNoticeChoices']) == 0) {
if (empty($this->data['CircularNoticeChoices'])) {
return false;
}
}
Expand Down

0 comments on commit 4f23dd6

Please sign in to comment.