Acute porphyria causes the skin to become blistered and swollen when exposed to sunlight.