Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions hmib_types.php
Original file line number Diff line number Diff line change
Expand Up @@ -934,7 +934,7 @@ function hmib_host_type_edit(): void {
global $config;

// ================= input validation =================
input_validate_input_number(get_request_var_request('id'));
input_validate_input_number(get_request_var('id'));
// ====================================================

// file: mactrack_device_types.php, action: edit
Expand Down Expand Up @@ -1287,13 +1287,13 @@ function exportTypes() {
</td>
<td>
<select id='rows'>
<option value='-1'<?php if (get_request_var_request('rows') == '-1') {?> selected<?php }?>><?php print __('Default', 'hmib'); ?></option>
<option value='-1'<?php if (get_request_var('rows') == '-1') {?> selected<?php }?>><?php print __('Default', 'hmib'); ?></option>
<?php
if (cacti_sizeof($item_rows)) {
foreach ($item_rows as $key => $value) {
print "<option value='" . $key . "'";

if (get_request_var_request('rows') == $key) {
if (get_request_var('rows') == $key) {
print ' selected';
} print '>' . $value . '</option>';
}
Expand Down
Loading