summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment.module2
-rw-r--r--modules/comment/comment.module2
-rw-r--r--modules/watchdog.module2
-rw-r--r--modules/watchdog/watchdog.module2
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);