Commit b305521a authored by catch's avatar catch
Browse files

Issue #1569580 by naxoc: Unnecessary call to urldecode().

parent cbaa67d9
...@@ -2921,7 +2921,7 @@ function confirm_form($form, $question, $path, $description = NULL, $yes = NULL, ...@@ -2921,7 +2921,7 @@ function confirm_form($form, $question, $path, $description = NULL, $yes = NULL,
// Prepare cancel link. // Prepare cancel link.
if (isset($_GET['destination'])) { if (isset($_GET['destination'])) {
$options = drupal_parse_url(urldecode($_GET['destination'])); $options = drupal_parse_url($_GET['destination']);
} }
elseif (is_array($path)) { elseif (is_array($path)) {
$options = $path; $options = $path;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment