summaryrefslogtreecommitdiff
path: root/modules/system/system.admin.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r--modules/system/system.admin.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 43416c9c5..7ebac6c37 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -1104,10 +1104,10 @@ function system_ip_blocking() {
);
}
- $output .= theme('table', $header, $rows);
-
$output .= drupal_get_form('system_ip_blocking_form');
+ $output .= theme('table', $header, $rows);
+
return $output;
}
@@ -1124,6 +1124,7 @@ function system_ip_blocking_form($form_state) {
'#type' => 'textfield',
'#size' => 64,
'#maxlength' => 32,
+ '#default_value' => arg(3),
'#description' => t('Enter a valid IP address.'),
);
$form['submit'] = array(