mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 00:34:46 +02:00
Fixed select in modificar_agente.php
This commit is contained in:
parent
937cfb7d1e
commit
17b2b01e7a
@ -177,11 +177,11 @@ echo "</td>";
|
|||||||
echo "<td>";
|
echo "<td>";
|
||||||
echo __('Operative System') . ' ';
|
echo __('Operative System') . ' ';
|
||||||
|
|
||||||
$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();
|
$fields = array();
|
||||||
|
|
||||||
foreach ($pre_fields as $key => $value) {
|
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);
|
html_print_select($fields,"os",$os,'this.form.submit()','All',0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user