fix bug 991739 - Dont' show external icon for attachments