Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
forena
Commits
cfc53734
Commit
cfc53734
authored
May 02, 2014
by
David Metzler
Browse files
Real fix for scraping documents using forena_report call.
parent
66686270
Changes
1
Hide whitespace changes
Inline
Side-by-side
forena.module
View file @
cfc53734
...
...
@@ -929,10 +929,6 @@ function forena_report($name_in, $parms = NULL, $print = TRUE) {
$forena_js
[
'report'
]
=
preg_replace
(
'/[^\w\-]+/u'
,
'_'
,
$name_in
);
if
(
$print
)
drupal_add_js
(
array
(
'forena'
=>
$forena_js
),
'setting'
);
}
if
(
!
$print
)
{
$c
=
$content
[
'content'
];
return
drupal_render
(
$c
);
}
return
$content
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment