Commit 341e9f66 authored by Dries's avatar Dries
Browse files

Issue #1825278 by hrmoller, damiankloip: Add parenthesis to new stdClass calls in theme.inc.

parent e43e77b7
......@@ -965,7 +965,7 @@ function template_preprocess_views_exposed_form(&$vars) {
$checkboxes .= drupal_render($form[$info['value']]);
continue;
}
$widget = new stdClass;
$widget = new stdClass();
// set up defaults so that there's always something there.
$widget->label = $widget->operator = $widget->widget = $widget->description = NULL;
......@@ -989,7 +989,7 @@ function template_preprocess_views_exposed_form(&$vars) {
// Wrap up all the checkboxes we set aside into a widget.
if ($checkboxes) {
$widget = new stdClass;
$widget = new stdClass();
// set up defaults so that there's always something there.
$widget->label = $widget->operator = $widget->widget = NULL;
$widget->id = 'checkboxes';
......
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