Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No need to look into the html key, just check that it exists.

  • Loading branch information...
commit a00c708a076599fcf4b57893d1947d331f424e63 1 parent 8c1864d
@xendk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  office_hours.module
View
2  office_hours.module
@@ -332,7 +332,7 @@ function office_hours_bulk_load($nids, $field_name, $year = NULL, $week = NULL,
cache_set($cache_key, $data, 'cache', $expiry);
}
- if ($render and !isset($data['html'][key($data['html'])])) {
+ if ($render and !isset($data['html'])) {
foreach ($nid_array as $nid) {
// Create mock node and element for rendering our field.
$node = new stdClass;
Please sign in to comment.
Something went wrong with that request. Please try again.