summaryrefslogtreecommitdiff
path: root/program/steps/mail/func.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-05-09 13:45:37 +0200
committerAleksander Machniak <alec@alec.pl>2012-05-09 13:48:10 +0200
commit644f00d5a2a7e69091d979a0bc964f07fd2b1a51 (patch)
tree74b10c872077ecfa426b6d564e629d858a7fa9b5 /program/steps/mail/func.inc
parent49ab20c8e790fdbcb43dd2f317f67583b061ce14 (diff)
Fix add_contact() (#1488465)
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r--program/steps/mail/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index ee17b3a3f..1742eee66 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1340,7 +1340,7 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null,
if ($addicon && $_SESSION['writeable_abook']) {
$address = html::span(null, $address . html::a(array(
'href' => "#add",
- 'onclick' => sprintf("return %s.command('add-contact','%s',this)", JS_OBJECT_NAME, urlencode($string)),
+ 'onclick' => sprintf("return %s.command('add-contact','%s',this)", JS_OBJECT_NAME, $string),
'title' => rcube_label('addtoaddressbook'),
'class' => 'rcmaddcontact',
),