diff --git a/plugins/content_types/fieldable_panels_pane.inc b/plugins/content_types/fieldable_panels_pane.inc index 963462e..5f55afd 100644 --- a/plugins/content_types/fieldable_panels_pane.inc +++ b/plugins/content_types/fieldable_panels_pane.inc @@ -263,7 +263,7 @@ function fieldable_panels_panes_fieldable_panels_pane_content_type_edit_form_sub // the entity is reusable we want it to act as if it were global. We should // also add some type of notice on the form so it's not completely // confusing for users. - $revision_context_aware = (empty($entity->reusable)) ? TRUE : FALSE; + $revision_context_aware = !empty($entity->reusable); if (!empty($entity->is_new) || $revision_context_aware) { if (module_exists('uuid') && isset($entity->uuid)) {