diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-11-13 02:32:18 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2005-11-13 02:32:18 +0000 |
commit | 21bed11e668d0a526d35d0baab4606af64141b00 (patch) | |
tree | 059370bbd41239a15997c9313a95119dd296c3f9 /modules | |
parent | daca20e03467373e380e241107e0f7842a576f68 (diff) | |
download | brdo-21bed11e668d0a526d35d0baab4606af64141b00.tar.gz brdo-21bed11e668d0a526d35d0baab4606af64141b00.tar.bz2 |
- Add missing url()s around form actions (these would break without clean URLs)
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment.module | 2 | ||||
-rw-r--r-- | modules/comment/comment.module | 2 | ||||
-rw-r--r-- | modules/watchdog.module | 2 | ||||
-rw-r--r-- | modules/watchdog/watchdog.module | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/comment.module b/modules/comment.module index f98b94ee9..a2b376630 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -1199,7 +1199,7 @@ function comment_controls($mode = 2, $order = 1, $comments_per_page = 50, $nid = $form['nid'] = array('#type' => 'hidden', '#value' => $nid); - $form['#action'] = 'comment/reply'; + $form['#action'] = url('comment/reply'); return drupal_get_form('comment_controls'. $top_or_bottom, $form, 'comment_controls'); } diff --git a/modules/comment/comment.module b/modules/comment/comment.module index f98b94ee9..a2b376630 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1199,7 +1199,7 @@ function comment_controls($mode = 2, $order = 1, $comments_per_page = 50, $nid = $form['nid'] = array('#type' => 'hidden', '#value' => $nid); - $form['#action'] = 'comment/reply'; + $form['#action'] = url('comment/reply'); return drupal_get_form('comment_controls'. $top_or_bottom, $form, 'comment_controls'); } diff --git a/modules/watchdog.module b/modules/watchdog.module index b22839ba8..e350d8485 100644 --- a/modules/watchdog.module +++ b/modules/watchdog.module @@ -91,7 +91,7 @@ function watchdog_overview() { '#options' => $names, '#default_value' => $_SESSION['watchdog_overview_filter'] ); - $form['#action'] = 'admin/logs'; + $form['#action'] = url('admin/logs'); $form['submit'] = array('#type' => 'submit', '#value' =>t('Filter')); $output = drupal_get_form('watchdog_form_overview', $form); diff --git a/modules/watchdog/watchdog.module b/modules/watchdog/watchdog.module index b22839ba8..e350d8485 100644 --- a/modules/watchdog/watchdog.module +++ b/modules/watchdog/watchdog.module @@ -91,7 +91,7 @@ function watchdog_overview() { '#options' => $names, '#default_value' => $_SESSION['watchdog_overview_filter'] ); - $form['#action'] = 'admin/logs'; + $form['#action'] = url('admin/logs'); $form['submit'] = array('#type' => 'submit', '#value' =>t('Filter')); $output = drupal_get_form('watchdog_form_overview', $form); |