. */ include_once __DIR__.'/../../core.php'; use Modules\Articoli\Categoria; if (isset($id_record)) { $record = $dbo->fetchOne('SELECT * FROM `mg_categorie` LEFT JOIN `mg_categorie_lang` ON (`mg_categorie`.`id`=`mg_categorie_lang`.`id_record` AND `mg_categorie_lang`.`id_lang`='.prepare(setting('Lingua')).') WHERE `mg_categorie`.`id`='.prepare($id_record)); $categoria = Categoria::find($id_record); }