From: kink Date: Mon, 23 Dec 2002 23:02:27 +0000 (+0000) Subject: Aparently, within a javascript "window" function you don't need to escape X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c2324b26cb156eb2f43e85a9d9602c385b59e91b;p=squirrelmail.git Aparently, within a javascript "window" function you don't need to escape &-s in the url. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4308 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/read_body.php b/src/read_body.php index 736df268..e861c608 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -112,8 +112,8 @@ function printer_friendly_link($mailbox, $passed_id, $passed_ent_id, $color) { global $javascript_on; $params = '?passed_ent_id=' . $passed_ent_id . - '&mailbox=' . urlencode($mailbox) . - '&passed_id=' . $passed_id; + '&mailbox=' . urlencode($mailbox) . + '&passed_id=' . $passed_id; $print_text = _("View Printable Version"); @@ -130,7 +130,7 @@ function printer_friendly_link($mailbox, $passed_id, $passed_ent_id, $color) { "\n" . "$print_text\n"; } else { - $result = '$print_text\n"; } return $result;