mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 08:14:38 +02:00
Merge branch '696-wrong-id-in-export-server-id-in-module-massive-operations-dev' into 'develop'
Fixed wrong ids See merge request !507
This commit is contained in:
commit
1ba43f4661
@ -533,7 +533,13 @@ $table->data['edit6'][0] = __('Export target');
|
|||||||
$targets2 = db_get_all_rows_sql ("SELECT id, name FROM tserver_export ORDER by name");
|
$targets2 = db_get_all_rows_sql ("SELECT id, name FROM tserver_export ORDER by name");
|
||||||
if ($targets2 === false)
|
if ($targets2 === false)
|
||||||
$targets2 = array();
|
$targets2 = array();
|
||||||
$targets = array_merge(array(0 => __('None')), $targets2 );
|
|
||||||
|
$targets = array();
|
||||||
|
$targets[0] = __('None');
|
||||||
|
foreach ($targets2 as $t) {
|
||||||
|
$targets[$t['id']] = $t['name'];
|
||||||
|
}
|
||||||
|
|
||||||
$table->data['edit6'][1] = html_print_select ($targets, 'id_export', '','', __('No change'), '', true, false, false);
|
$table->data['edit6'][1] = html_print_select ($targets, 'id_export', '','', __('No change'), '', true, false, false);
|
||||||
$table->data['edit6'][2] = __('Unit');
|
$table->data['edit6'][2] = __('Unit');
|
||||||
$table->data['edit6'][3] = html_print_input_text ('unit', '', '', 15, 60, true);
|
$table->data['edit6'][3] = html_print_input_text ('unit', '', '', 15, 60, true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user