fix variable for CPT

This commit is contained in:
Robin Cornett
2015-01-20 13:24:32 -05:00
parent d22dcb51b0
commit d5efd2464a
@@ -75,7 +75,7 @@ class Display_Featured_Image_Genesis_Common {
elseif ( is_post_type_archive() ) {
$post_type = $object->name;
if ( $displaysetting['post_type'][$post_type] ) {
if ( isset( $displaysetting['post_type'][$post_type] ) ) {
$image_id = self::get_image_id( $displaysetting['post_type'][$post_type] );
}
}