Fix code style [MAILPOET-726]

This commit is contained in:
Alexey Stoletniy
2017-01-18 15:47:16 +03:00
parent ce0ad33c32
commit 7789a10026

View File

@ -107,7 +107,7 @@ class Subscribers extends APIEndpoint {
}
function save($data = array()) {
if (empty($data['segments'])) {
if(empty($data['segments'])) {
$data['segments'] = array();
}
$subscriber = Subscriber::createOrUpdate($data);