Commit f6c90a02 authored by David Metzler's avatar David Metzler
Browse files

#2363325 JSON Notice patch.

parent 52c591f0
...@@ -533,7 +533,7 @@ function forena_json($block_name, $parms= NULL) { ...@@ -533,7 +533,7 @@ function forena_json($block_name, $parms= NULL) {
$block_name = str_replace('.', '/', $block_name); $block_name = str_replace('.', '/', $block_name);
if ($parms === NULL) { if ($parms === NULL) {
$parms = array_merge($_GET, $_POST); $parms = array_merge($_GET, $_POST);
unset($_parms['q']); unset($parms['q']);
} }
$data = forena_data($block_name, $parms); $data = forena_data($block_name, $parms);
$ret = array(); $ret = array();
......
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