This is true. Someone who has had a heart attack is at significantly increased risk of having another. History of heart attack indicates existing cardiovascular disease, and the same underlying conditions (atherosclerosis, high cholesterol, etc.) remain. Secondary prevention through medication and lifestyle changes is critical.