#998870 by Amitaibu: Fix notice when content has no icon by using function already designed for that.