Little fix for an unused feature :-)

release-0.6
thomascube 17 years ago
parent 6726f0c369
commit 58dd6ef88e

@ -358,7 +358,7 @@ class rcmail_template extends rcube_html_page
*/
function parse_with_globals($input)
{
$GLOBALS['__comm_path'] = urlencode($GLOBALS['COMM_PATH']);
$GLOBALS['__comm_path'] = Q($GLOBALS['COMM_PATH']);
return preg_replace('/\$(__[a-z0-9_\-]+)/e', '$GLOBALS["\\1"]', $input);
}

Loading…
Cancel
Save