Commit a5b24f6d authored by Chris Graham's avatar Chris Graham

Fixed MANTIS-4061 (keep_theme parameter incorrect injected into AJAX scripts)

parent 2bf91016
......@@ -1244,7 +1244,7 @@ function ecv_FACILITATE_AJAX_BLOCK_CALL($lang, $escaped, $param)
$keep = symbol_tempcode('KEEP');
$value = find_script('snippet') . '?snippet=block&auth_key=' . urlencode(strval($auth_key)) . '&block_map=' . urlencode($param[0]) . $keep->evaluate();
if (get_param_string('keep_theme', null) === null) {
if (get_param_string('keep_theme', null) !== null) {
$value .= '&keep_theme=' . urlencode($GLOBALS['FORUM_DRIVER']->get_theme());
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment