No order shall be issued by any court in an action brought by or on behalf of any landowner to enjoin any tax sale or to set aside or cancel any tax certificate held by any county in the state until the owner pays to the tax collector of the county where the property is assessable the full amount of the taxes that could have been lawfully assessed against the property for the period covered by the assessment complained of, whether or not the real estate has been returned for assessment by the owner. In all such cases, the court shall ascertain and determine the amount of tax to be paid by the owner.
Fla. Stat. § 197.446