Skip to content

Commit 85bd326

Browse files
committed
fix: select in aggiunta adattatore
1 parent 349ab15 commit 85bd326

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

modules/adattatori_archiviazione/actions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
$adapter = new FileAdapter();
2828

2929
$adapter->name = post('name');
30-
$adapter->class = '\\Modules\\FileAdapters\\Adapters\\'.post('class');
30+
$adapter->class = '\\Modules\\FileAdapters\\Adapters\\'.post('class_add');
3131

3232
$adapter->save();
3333

modules/adattatori_archiviazione/add.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
</div>
3131

3232
<div class="col-md-6">
33-
{[ "type": "select", "label": "<?php echo tr('Tipo archiviazione'); ?>", "name": "class", "values": "list=\"LocalAdapter\":\"<?php echo tr('Archiviazione locale'); ?>\",\"FTPAdapter\":\"<?php echo tr('Archiviazione FTP'); ?>\"", "required": 1 ]}
33+
{[ "type": "select", "label": "<?php echo tr('Tipo archiviazione'); ?>", "name": "class_add", "values": "list=\"LocalAdapter\":\"<?php echo tr('Archiviazione locale'); ?>\",\"FTPAdapter\":\"<?php echo tr('Archiviazione FTP'); ?>\"", "required": 1 ]}
3434
</div>
3535
</div>
3636

0 commit comments

Comments
 (0)