Merge branch '2194-IDs-de-SO-en-Manage-agents' into 'develop'

Fixed select in modificar_agente.php

See merge request artica/pandorafms!1520
This commit is contained in:
slerena 2018-06-25 18:52:38 +02:00
commit dddde8fba1
1 changed files with 2 additions and 2 deletions

View File

@ -177,11 +177,11 @@ echo "</td>";
echo "<td>";
echo __('Operative System') . '&nbsp;';
$pre_fields = db_get_all_rows_sql('select distinct(tagente.id_os),tconfig_os.description from tagente,tconfig_os where tagente.id_os = tconfig_os.id_os');
$pre_fields = db_get_all_rows_sql('select distinct(tagente.id_os),tconfig_os.name from tagente,tconfig_os where tagente.id_os = tconfig_os.id_os');
$fields = array();
foreach ($pre_fields as $key => $value) {
$fields[$value['id_os']] = $value['description'];
$fields[$value['id_os']] = $value['name'];
}
html_print_select($fields,"os",$os,'this.form.submit()','All',0);