Kan. Stat. Ann. § 58-2513
A conveyance of real estate or of any interest therein by a landlord shall be valid without the attornment of the tenant; but the payment of rent by the tenant to the grantor at any time before notice of sale given to said tenant shall be good against the grantee.
G.S. 1868, ch. 55, § 13; October 31; R.S. 1923, 67-513.