summaryrefslogtreecommitdiff
path: root/program/include/rcmail_template.inc
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcmail_template.inc')
-rw-r--r--program/include/rcmail_template.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/program/include/rcmail_template.inc b/program/include/rcmail_template.inc
index 6e3fe52b8..3609bec1b 100644
--- a/program/include/rcmail_template.inc
+++ b/program/include/rcmail_template.inc
@@ -563,9 +563,9 @@ class rcmail_template extends rcube_html_page
// make valid href to specific buttons
if (in_array($attrib['command'], $MAIN_TASKS))
- $attrib['href'] = Q(rcmail_self_url(null, null, $attrib['command']));
+ $attrib['href'] = Q(rcmail_url(null, null, $attrib['command']));
else if (in_array($attrib['command'], $a_static_commands))
- $attrib['href'] = Q(rcmail_self_url($attrib['command']));
+ $attrib['href'] = Q(rcmail_url($attrib['command']));
}
// overwrite attributes