Skip to content
Snippets Groups Projects
Commit 1d57459a authored by johnv's avatar johnv
Browse files

Issue #1594384: Undefined variable: max_label_length.

parent 2ea0489f
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,7 @@ function theme_office_hours_formatter_grouped($element) {
$settings['separator_day_hours'] = isset($settings['separator_day_hours'] ) ? $settings['separator_day_hours'] : ': ';
$settings['separator_days'] = isset($settings['separator_days'] ) ? $settings['separator_days'] : '<br>';
$max_label_length = 3; // This is the minimum width for day labels. It is adjusted when adding new labels.
// $show_closed = !empty($settings['showclosed']); // D7-version
$show_closed = $field['showclosed']; // D6-version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment