openstamanager/modules/newsletter/init.php

12 lines
198 B
PHP

<?php
use Modules\Newsletter\Newsletter;
include_once __DIR__.'/../../core.php';
if (isset($id_record)) {
$newsletter = Newsletter::find($id_record);
$record = $newsletter->toArray();
}