fixed cpt image setting for output

This commit is contained in:
Robin Cornett
2015-01-03 18:38:22 -05:00
parent 86c4b6920a
commit 0f6d537c40
@@ -64,7 +64,7 @@ class Display_Featured_Image_Genesis_Common {
elseif ( is_post_type_archive() ) {
$object = get_queried_object();
$post_type = $object->name;
if ( isset( $displaysetting['post_type'][$post_type] ) ) {
if ( $displaysetting['post_type'][$post_type] ) {
$image_id = self::get_image_id( $displaysetting['post_type'][$post_type] );
}
}