openstamanager/modules/stato_email/init.php

12 lines
170 B
PHP

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