diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-04-10 10:22:40 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-04-10 10:22:40 +0000 |
commit | 230db1039a3457219a550235b71d1ece09c28b80 (patch) | |
tree | 383979b6b34349b721294c70cb3b6dcc2af565c1 | |
parent | 8f18b9684f6b71b9327d6b3e904658db7b5cfd47 (diff) | |
download | brdo-230db1039a3457219a550235b71d1ece09c28b80.tar.gz brdo-230db1039a3457219a550235b71d1ece09c28b80.tar.bz2 |
- Missing check_url() in form().
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/common.inc b/includes/common.inc index d6cd3f820..b93623e96 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -981,7 +981,7 @@ function form($form, $method = 'post', $action = NULL, $attributes = NULL) { if (!$action) { $action = request_uri(); } - return '<form action="'. $action .'" method="'. $method .'"'. drupal_attributes($attributes) .">\n". $form ."\n</form>\n"; + return '<form action="'. check_url($action) .'" method="'. $method .'"'. drupal_attributes($attributes) .">\n". $form ."\n</form>\n"; } /** |