A default $options array needs to be created in cache_graceful().

Comments

deviantintegral’s picture

Assigned: deviantintegral » Unassigned
Status: Active » Needs review
StatusFileSize
new960 bytes
gielfeldt’s picture

Thanks.

Isn't it more common practice in this case to do:
$options += $defaults;

instead of:
$options = array_merge($defaults, $options);

?

gielfeldt’s picture

StatusFileSize
new3.05 KB

How about this? I've also changed the strange way I was handling default options in cache_graceful_execute().

gielfeldt’s picture

Status: Needs review » Fixed

Committed to dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.