Address PR review remarks [MAILPOET-1721]
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user