Inaccurate?

Anger of the Noonday Sun

(Spell Compendium, p. 11)

Evocation [Light]
Level: Druid 6,
Components: V, S,
Casting Time: 1 standard action
Range: 20 feet
Area: All sighted creatures within a 20-ft-radius burst centered on you
Duration: Instantaneous
Saving Throw: Reflex negates; see text
Spell Resistance: Yes

Your body explodes with radiance that bathes the area around you in sunlight.

Any creature within the area of the spell that can see you must make a saving throw or be temporarily blinded. The blindness lasts for 1 minute per caster level.

An undead creature caught within the spell's area takes 1d6 points of damage per two caster levels (maximum 10d6), or half damage if a Reflex save is successful. In addition, the beam results in the destruction of any undead creature specifically harmed by bright light (such as a vampire) if it fails its save.

The ultraviolet light generated by the spell deals damage to fungi, mold, oozes, and slimes as if they were undead creatures.