The only assignment of error contained in the defendant’s bill of exceptions, as shown by the above statement of the case, is to the judgment of the trial court rendered on July 1, 1959. Prior to such time the demurrers were overruled on April 17, 1959, and no exception taken to such judgment. The redrafted petition filed in accordance with the direction of the trial court did not materially amend the petition, nor in fact did it amend it in any way, for such redrafted petition merely eliminated any reference to the defendant Ford Motor Company which had previously been stricken as a party defendant by the plaintiff’s dismissal as to it.
Prior to the passage of the act of 1952 (Ga. L. 1952, pp. 243, 245; Code, Ann., § 81-1001, 2d par.), it was well established that where a trial court ruled on a demurrer and allowed time for amendment if no amendment was filed which would require a different ruling on the demurrer already ruled on the prior ruling on such demurrer became the law of the case until reversed. See
Darling Stores Corp.
v.
Beatus,
197
Ga.
125 (
The bill of exceptions refers to a motion that was filed which sought to require the plaintiff to purge his petition of any reference to the Ford Motor Company which had previously been dismissed by the plaintiff as a party defendant, and it is apparent that the judgment of the trial court on April 17, 1959, overruling the defendant’s demurrers and requiring the plaintiff to redraft his petition was a judgment on the motion and the demurrers; in fact it is so entitled: “Order on Motion and Rulings on Demurrers.” The ruling on the motion to purge (a proper motion
*652
to remove superfluous matter from a petition,
Duke
v.
Brown,
113
Ga.
310, 319,
Judgment affirmed.
