When loading the term description CTools content type plugin (term_description.inc) in a scenario where the term has not been loaded yet, e.g. when using the Panopoly Magic preview system, the render callback assumes that $term->name exists even though the $term variable will be NULL.

CommentFileSizeAuthor
#1 ctools-n2303727-1.patch906 bytesdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new906 bytes

This moves the $term->name assignment inside the if() statement and improves some other pieces of the same render callback.

danepowell’s picture

Status: Needs review » Reviewed & tested by the community
japerry’s picture

Status: Reviewed & tested by the community » Fixed

Committted.

  • japerry committed e8d58f0 on 7.x-1.x authored by DamienMcKenna
    Issue #2303727 by DamienMcKenna: Term description pane gives error if no...

Status: Fixed » Closed (fixed)

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