Address PR review remarks [MAILPOET-1721]

This commit is contained in:
wxa
2019-01-22 12:25:59 +03:00
parent a4ff9822ad
commit 5bf968fbc6
4 changed files with 7 additions and 7 deletions

View File

@ -80,7 +80,7 @@ class Subscriber extends Model {
}
function isWooCommerceUser() {
return $this->is_woocommerce_user == true;
return (bool)$this->is_woocommerce_user;
}
static function getCurrentWPUser() {