Commit 9f07002e authored by frjo's avatar frjo
Browse files

#849892: Form returned as array not rendered html. Added drupal_render() since...

#849892: Form returned as array not rendered html. Added drupal_render() since drupal_get_form() has changed in D7.
parent 09986016
...@@ -28,7 +28,7 @@ function colorbox_form_page($form_id) { ...@@ -28,7 +28,7 @@ function colorbox_form_page($form_id) {
default: default:
$form = drupal_get_form($form_id); $form = drupal_get_form($form_id);
if (!empty($form)) { if (!empty($form)) {
print $form; print drupal_render($form);
} }
} }
......
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