summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-09-26 18:53:19 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-09-26 18:53:19 +0200
commit1f4b06a853dfab075017534919abdfc918274a91 (patch)
treed61e4526b796f6972179ef0029b747c3e9c3cb40
parenta4dc96e73e74ffa15a1e76010c7afba531eac15b (diff)
Set comm_path env variable after reset
-rw-r--r--program/steps/utils/error.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/steps/utils/error.inc b/program/steps/utils/error.inc
index 2a3a9a61e..ec0d038f4 100644
--- a/program/steps/utils/error.inc
+++ b/program/steps/utils/error.inc
@@ -112,6 +112,7 @@ EOF;
if ($rcmail->output && $rcmail->output->template_exists('error')) {
$rcmail->output->reset();
$rcmail->output->set_env('server_error', $ERROR_CODE);
+ $rcmail->output->set_env('comm_path', $rcmail->comm_path);
$rcmail->output->send('error');
}