26 S.E.2d 380 | Ga. Ct. App. | 1943
There were sufficient allegations in the petition by which to amend. The court erred in sustaining the demurrers to the petition, and in dismissing the action, without allowing the plaintiff opportunity to amend, since the judge had promised the plaintiff, upon request, that she would *585 be allowed to amend the petition if there was anything in the petition by which to amend.
We have not set out all of the allegations of the petition which is in 22 paragraphs and 21 pages, because of the issue on which the case will be decided. We have, we think, set out enough of the allegations of the petition to illustrate that issue.
To the petition there were interposed general and special demurrers. Counsel for the plaintiff requested the court that if any of the demurrers were sustained, he be given an opportunity to amend his petition in order to meet the demurrers. At the time the judge took the demurrers under advisement he advised counsel that if he decided to sustain any of the demurrers he would be given the opportunity to amend if there was anything in the petition to amend by. Later, the judge sustained all of the demurrers to the petition and dismissed the action without allowing the plaintiff opportunity to amend. Plaintiff contends that there are sufficient allegations in the petition by which to amend and that it was error for the judge to dismiss the petition without giving him the opportunity to amend. The only questions ripe for decision in this case are whether there was enough in the petition to amend by and whether if so the plaintiff was entitled to the right to amend after he had requested such right before the action was dismissed on demurrer and the judge had promised such opportunity if there was enough in the petition to amend by.
1. The general rule is that an independent contractor is not liable for injuries occurring to a third person after the contractor has completed the work and turned it over to the owner or employer and it has been accepted by him, even though the injury results from the contractor's failure to properly carry out his contract. Young v. Smith Kelly Co.,
2. Where a judge takes demurrers under advisement and where the right to amend is requested of the court before judgment such right should be given before dismissal of the action or pleadings if there is enough to amend by. Ripley v. Eady,
The petition contained enough to amend by and the court erred in dismissing the action on demurrers, when, at the time the court took the demurrers under advisement, the plaintiff requested the opportunity to amend and the judge promised the opportunity to amend in the event there was enough to amend by. Whether the court would have been right in the action taken if no question of the right to amend had been made is a matter which is not properly before the court at this time. If an amendment is filed the judge may have different questions presented. The case will be treated as if no action had been taken on the demurrers up to the present time so there is no necessity for permission to *590 allow the present bill of exceptions to be treated as exceptions pendente lite below.
Judgment reversed. Stephens, P. J., and Sutton, J., concur.