Empty attachment or post type not equal 'attachment'

[optin-cat id=322]