From 3cb2a5eff420a00a3579df5ed7950f8d5c761bce Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 14 Oct 2009 20:42:47 +0000 Subject: - Patch #582456 by dereine, sun, tobiasb: make confirm_form() respect query string destination. --- modules/path/path.admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/path') diff --git a/modules/path/path.admin.inc b/modules/path/path.admin.inc index 8cd3b1cf7..67d7915e7 100644 --- a/modules/path/path.admin.inc +++ b/modules/path/path.admin.inc @@ -186,7 +186,7 @@ function path_admin_delete_confirm($form, $form_state, $pid) { $form['pid'] = array('#type' => 'value', '#value' => $pid); $output = confirm_form($form, t('Are you sure you want to delete path alias %title?', array('%title' => $path['dst'])), - isset($_GET['destination']) ? $_GET['destination'] : 'admin/config/search/path'); + 'admin/config/search/path'); } return $output; } -- cgit v1.2.3