diff options
author | alecpl <alec@alec.pl> | 2009-05-27 10:09:09 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-05-27 10:09:09 +0000 |
commit | bb5dd5916bdb4e789300799f9e6a2be831e6bf14 (patch) | |
tree | 3a35c2fe39b4b89a28910f954d64f1fbf9ec1e42 /program | |
parent | 9b2ccdd9cb567d73e00ade69dac0984e16718927 (diff) |
- reverted accidentally removed code
Diffstat (limited to 'program')
-rwxr-xr-x | program/include/rcube_template.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index 8c0a8d05d..d82379db7 100755 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -797,6 +797,9 @@ class rcube_template extends rcube_html_page else if (in_array($attrib['command'], $a_static_commands)) { $attrib['href'] = rcmail_url($attrib['command']); } + else if ($attrib['command'] == 'permaurl' && !empty($this->env['permaurl'])) { + $attrib['href'] = $this->env['permaurl']; + } } // overwrite attributes |