openstamanager/modules/newsletter/init.php

12 lines
198 B
PHP
Executable File

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