Skip to content

Commit

Permalink
Update operator [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
vuongxuongminh committed May 29, 2018
1 parent bcf26fe commit 77e3ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RequestData.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function ensureAttributes(array &$attributes)
$attributes['IsUnicode'] = $attributes['IsUnicode'] ?? 1;
$attributes['Sandbox'] = $attributes['IsUnicode'] ?? 0;

if ($attributes['SmsType'] === 1 or $attributes['SmsType'] === 2) {
if ($attributes['SmsType'] === 1 || $attributes['SmsType'] === 2) {
$this->addRule(['Brandname'], 'required');
}
}
Expand Down

0 comments on commit 77e3ef5

Please sign in to comment.