Make something amazing, for anyone, at DrupalCon. Standard prices end on August 26.
Properties such as 'errors' and 'module' are getting exported. They should not be.
'module' is intentionally exported:
// Even though Flag adds the module name itself later, we add the module
// name here for reference by other modules (such as Features).
$new_flag['module'] = $module;
Figured this bit of the code could use a little clean-up at the same time.
I have tested this now and I can confirm it works. I have attached the before and after versions of the export. The original exported the 'errors' array. However, after the patch was applied, the 'errors' array, as expected, was not exported.
Thanks for the review!
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.