Fix salvataggio stampe contabili definitive
This commit is contained in:
parent
75e140d7ea
commit
a57e6db9b8
|
@ -20,7 +20,7 @@
|
||||||
include_once __DIR__.'/../../core.php';
|
include_once __DIR__.'/../../core.php';
|
||||||
use Models\Module;
|
use Models\Module;
|
||||||
|
|
||||||
$dir = $_GET['dir'];
|
$dir = filter('dir');
|
||||||
|
|
||||||
$id_sezionale = filter('id_sezionale');
|
$id_sezionale = filter('id_sezionale');
|
||||||
$sezionale = $dbo->fetchOne('SELECT `zz_segments_lang`.`title` FROM `zz_segments` LEFT JOIN `zz_segments_lang` ON (`zz_segments`.`id` = `zz_segments_lang`.`id_record` AND `zz_segments_lang`.`id_lang` = '.prepare(Models\Locale::getDefault()->id).') WHERE `zz_segments`.`id` = '.$id_sezionale)['name'];
|
$sezionale = $dbo->fetchOne('SELECT `zz_segments_lang`.`title` FROM `zz_segments` LEFT JOIN `zz_segments_lang` ON (`zz_segments`.`id` = `zz_segments_lang`.`id_record` AND `zz_segments_lang`.`id_lang` = '.prepare(Models\Locale::getDefault()->id).') WHERE `zz_segments`.`id` = '.$id_sezionale)['name'];
|
||||||
|
|
Loading…
Reference in New Issue