From f91a4990461d44f12755628f732b3b25544b96cc Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 20 Dec 2006 14:26:37 +0000 Subject: Little fix for new string quoting --- program/steps/mail/upload.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'program/steps') diff --git a/program/steps/mail/upload.inc b/program/steps/mail/upload.inc index 50a6dba36..0d9761e44 100644 --- a/program/steps/mail/upload.inc +++ b/program/steps/mail/upload.inc @@ -56,9 +56,9 @@ foreach ($_FILES['_attachments']['tmp_name'] as $i => $filepath) $content = sprintf('%s%s', $JS_OBJECT_NAME, $id, - JQ(Q(rcube_label('delete'))), - JQ($button), - JQ(Q($_FILES['_attachments']['name'][$i]))); + Q(rcube_label('delete')), + $button, + Q($_FILES['_attachments']['name'][$i])); $response .= sprintf('parent.%s.add2attachment_list(\'rcmfile%d\',\'%s\');', $JS_OBJECT_NAME, -- cgit v1.2.3