In the function panels_panel_context_save() there is an if condition checking the existance of $page->conf['temp_layout'] which would always return FALSE since the variable $page is never defined in the scope of the function. I think it was meant to be $handler instead of $page.

Please review my attached patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Елин Й. created an issue. See original summary.

japerry’s picture

dsnopek’s picture

Status: Needs review » Reviewed & tested by the community

Wow, this bug is old! The commit that originally added this is from 2010. I looked at the code and can confirm that it's really $handler that has this, so marking RTBC.

dsnopek’s picture

Moving to 3.8 so we can get 3.7 out quicker!

japerry’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for raising the visibility on this, its fixed now.

Status: Fixed » Closed (fixed)

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