summaryrefslogtreecommitdiff
path: root/program/include
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2006-09-24 20:15:51 +0000
committerthomascube <thomas@roundcube.net>2006-09-24 20:15:51 +0000
commit6b47de3f49e880f08fa4a9226e70d18129095306 (patch)
tree292ae8ca9f101e17dfcd0494eceb0965669a5370 /program/include
parent63583192f238dfb49152f6f470988d36366aa44b (diff)
Partial client re-write with a common list class
Diffstat (limited to 'program/include')
-rw-r--r--program/include/main.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index c6e9857b0..b2e83b767 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -365,7 +365,7 @@ function load_gui()
// add common javascripts
$javascript = "var $JS_OBJECT_NAME = new rcube_webmail();\n";
- $javascript .= "$JS_OBJECT_NAME.set_env('comm_path', '$COMM_PATH');\n";
+ $javascript .= sprintf("%s.set_env('comm_path', '%s');\n", $JS_OBJECT_NAME, str_replace('&amp;', '&', $COMM_PATH));
if (isset($CONFIG['javascript_config'] )){
foreach ($CONFIG['javascript_config'] as $js_config_var){