Commit cfc53734 authored by metzlerd's avatar metzlerd
Browse files

Real fix for scraping documents using forena_report call.

parent 66686270
...@@ -929,10 +929,6 @@ function forena_report($name_in, $parms = NULL, $print = TRUE) { ...@@ -929,10 +929,6 @@ function forena_report($name_in, $parms = NULL, $print = TRUE) {
$forena_js['report'] = preg_replace('/[^\w\-]+/u', '_', $name_in); $forena_js['report'] = preg_replace('/[^\w\-]+/u', '_', $name_in);
if ($print) drupal_add_js(array('forena' => $forena_js), 'setting'); if ($print) drupal_add_js(array('forena' => $forena_js), 'setting');
} }
if (!$print) {
$c = $content['content'];
return drupal_render($c);
}
return $content; return $content;
......
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