(a) If any person shall set on fire any grass or other combustible material within his or her enclosures so as to damage any other person, that person shall make satisfaction in single damages to the party injured, to be recovered by civil action in any court having jurisdiction of the amount sued for.
(b) If any person shall, before setting out fire, notify those persons whose farms are joining the place which he or she proposes to burn that he or she is going to fire such grass or other combustible matter and shall use all due caution to prevent such fire from getting out to the injury of any other person, he or she shall not be liable to pay damages as provided in this section.