I have an array to pass from controller to view.
$data['message'] = $data = $service->users_messages->get('me',$messageId, $optParamsGet2);
$data['mail'] = $mail;
while adding $data['mail'] = $mail, it showing the array_merge(): Argument #2 is not an array.
I need to render both $message and $mail in the view. How can i?