summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-29 12:40:09 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-29 12:40:09 +0200
commitd317a59d3041223c5070ae72d3d7187ef0c089ca (patch)
tree1c3f299b24dedbe5d1fbc0584f4fee52da522229
parentbbbacdc69832d2993b6e2f6416f88ef833636a8a (diff)
Fix frame() so frame ID is set as 'contentframe' env variable (not name)
-rw-r--r--program/include/rcube_output_html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_output_html.php b/program/include/rcube_output_html.php
index 960002112..2743e7705 100644
--- a/program/include/rcube_output_html.php
+++ b/program/include/rcube_output_html.php
@@ -1297,7 +1297,7 @@ class rcube_output_html extends rcube_output
$attrib['name'] = $attrib['id'];
}
- $this->set_env('contentframe', $attrib['name']);
+ $this->set_env('contentframe', $attrib['id']);
$this->set_env('blankpage', $attrib['src'] ? $this->abs_url($attrib['src']) : 'program/resources/blank.gif');
return html::iframe($attrib);