If the person to whom such advances have been made shall, within thirty days after such sale has been made, give notice in writing to the sheriff, accompanied with an affidavit to this effect, that the amount claimed is not justly due, the sheriff shall hold the proceeds of such sale subject to the decision of the court upon an issue which shall be made up and set down for trial at the next succeeding term of the court of common pleas for the county in which the person to whom such advances have been made resides. In such issue the landlord who makes such advances shall be the actor.
S.C. Code § 29-13-70