openstamanager/modules/impostazioni/init.php

8 lines
257 B
PHP

<?php
include_once __DIR__.'/../../core.php';
if (isset($id_record)) {
$records = $dbo->fetchArray('SELECT * FROM `zz_settings` WHERE `sezione`=(SELECT sezione FROM `zz_settings` WHERE `idimpostazione`='.prepare($id_record).") AND `editable`='1'");
}