. */ use Modules\Newsletter\Newsletter; use Modules\Emails\Template; include_once __DIR__.'/../../core.php'; if (isset($id_record)) { $newsletter = Newsletter::find($id_record); $record = $newsletter->toArray(); $template = Template::find($record['id_template']); }