updated mailer endpoint

This commit is contained in:
Jonathan Labreuille
2016-08-08 17:41:30 +02:00
parent d7c5c8c3e7
commit 4950e47297
4 changed files with 29 additions and 35 deletions

View File

@@ -27,7 +27,7 @@ abstract class Response {
if(!empty($this->meta)) {
$response['meta'] = $this->meta;
}
if(!empty($data)) {
if($data !== null) {
$response = array_merge($response, $data);
}