Fix code style [MAILPOET-726]
This commit is contained in:
@ -107,7 +107,7 @@ class Subscribers extends APIEndpoint {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function save($data = array()) {
|
function save($data = array()) {
|
||||||
if (empty($data['segments'])) {
|
if(empty($data['segments'])) {
|
||||||
$data['segments'] = array();
|
$data['segments'] = array();
|
||||||
}
|
}
|
||||||
$subscriber = Subscriber::createOrUpdate($data);
|
$subscriber = Subscriber::createOrUpdate($data);
|
||||||
|
Reference in New Issue
Block a user