Opinion
John-Patrick Kirby and his wife, Susan R. Kirby, appeal from a summary judgment entered against them in their action against Albert D. Seeno Construction Company (hereafter Seeno). We conclude that the superior court construed the allegations of the complaint too narrowly and reverse.
Procedural and Factual Background
Appellants purchased a home from Seeno in April of 1982. Paragraph six of the unverified complaint against Seeno, filed December 21,1987, alleged: “On or about May 15, 1982, and continuing, plaintiffs discovered damage to the residence, including but not limited to foundation movement, settlement, cracking, separation in exterior concrete flatwork, distortion, weakening to the residence as well as damage to the garage slab and driveway . . . .” The complaint alleged that Seeno’s agents falsely represented that the residence was constructed on a “cut lot” with no more than 2 feet of fill. In fact, the residence was on 8 to 16 feet of improperly compacted fill, which eventually caused major foundation movement.
On June 27, 1991, Seeno filed a motion for summary judgment based on the statute of limitations. The only support for the motion was the language of the complaint specifying “on or about May 15, 1982, and continuing” as the date damage was discovered.
Appellants’ opposition to the motion was supported by portions of their deposition transcripts which indicated that although cracks were seen in 1982, no serious damage to the residence was suspected until 1985. In addition, counsel filed a declaration requesting additional time to respond to the motion because appellants were out of the area until after the date opposition was due for the summary judgment motion. No continuance was given, and a decision granting the motion was filed on August 5, 1991. The decision referenced paragraph six of the complaint and stated that the statute *1064 of limitations provided in Code of Civil Procedure section 338, subdivisions (b) and (d) had expired and that there was no triable issue of estoppel. 1
On August 14, 1991, appellants submitted their declarations in connection with a motion for reconsideration. In addition, they requested leave to amend to allege the reasons for their failure to suspect serious damage to the residence prior to August of 1985. No ruling on this motion appears in the record on appeal, but summary judgment was entered on October 22, 1991. Appellants filed a timely notice of appeal.
Discussion
Summary Judgment Principles
The task of a reviewing court in assessing a summary judgment is to identify the issues raised by the pleadings, decide whether the moving party has negated all claims, and determine whether the opposition to the motion has raised a triable issue of material fact.
(Magnolia Square Homeowners Assn.
v.
Safeco Ins. Co.
(1990)
The first step is to determine whether the supporting declarations establish every element necessary to sustain a judgment in favor of the moving party.
(Jack
v.
Wood
(1968)
*1065 Statute of Limitations
The parties agree that the matter is governed by the three-year statute of limitations in section 338, subdivisions (b) and (d).
3
“The orthodox rule in tort actions is that the applicable limitation period will run from accrual of the action ‘upon the occurrence of the last element essential to the cause of action.’ [Citation.] In the case of injury to real property, the orthodox rule would dictate that ‘if the defendant’s act causes
immediate
and
permanent
injury’ to the property the statute would run from the date of the act. [Citation.]”
(CAMSI IV
v.
Hunter Technology Corp.
(1991)
If the orthodox rule were applied to latent defects in real property, purchasers could lose a cause of action before becoming aware of the injury.
(Leaf v. City of San Mateo
(1980)
Conclusive Admissions in Complaint
At the heart of Seeno’s summary judgment motion is its contention that the complaint contains a conclusive concession that significant structural damage was discovered on or about May 15, 1982. This argument underlies Seeno’s theory that even under the delayed discovery rule of
April Enterprises, Inc.
v.
KTTV
(1983)
*1066
The cases cited in support of Seeno’s claim that appellants have irrevocably admitted a key fact are not dispositive. For example, in
Electronic Equipment Express, Inc.
v.
Donald H. Seiler & Co.
(1981)
In
Leasman
v.
Beech Aircraft Corp.
(1975)
Seeno asks us to give conclusive effect to an ambiguous statement in an unverified complaint and to ignore the explanation of the statement contained in deposition testimony taken under oath. This is precisely what we refused to do in
Price.
When the facts submitted in opposition to
*1067
a summary judgment motion indicate the existence of a material factual issue, summary judgment should not be entered based on mistaken legal conclusions in the complaint.
(Bahan
v.
Kurland,
(1979)
Because Seeno’s summary judgment motion was based solely on the ambiguous allegation of the complaint, it merely showed that the action may have been, but was not certainly, barred. It was, therefore, error to grant summary judgment.
Failure to Allow Amendment of Complaint
In their motion for reconsideration, appellants requested leave to amend the complaint to allege that they failed to investigate the condition of the property because Seeno’s representatives had assured them that the house was not built on fill and that the apparent cracks were caused by normal settlement. Appellants indicated that they did not suspect that the house was built on fill or that the problems with the house were attributable to Seeno’s faulty construction and improper soil compaction until 1985, when a neighbor learned that his house was built on fill. Appellants characterized these facts as an estoppel theory, but the same facts are relevant to the delayed discovery issue.
Seeno’s motion, unsupported by declarations or other evidentiary material, functioned more like a challenge to the sufficiency of the pleadings. “A motion for summary judgment may effectively operate as a motion for judgment on the pleadings.”
(Hejmadi
v.
AMFAC, Inc.
(1988)
“ ‘ “[T]he showing of excuse for late filing must be made in the complaint. . . . The complaint must set forth
specifically
(1) the facts of the time and manner of discovery; and (2) the circumstances which excuse the failure to have made an earlier discovery.” [Citation.]’ ”
(Anderson
v.
Brouwer, supra, 99
Cal.App.3d 176, 181-182, italics added;
Mangini
v.
Aerojet-General Corp.
(1991)
Seeno argues that appellants improperly sought to contradict the allegations of the complaint and waived their right to amend. We disagree. There was no contradiction of the broad allegations of the complaint. The complaint merely alleged in general terms that “[o]n or about” a date “and continuing” thereafter, appellants discovered elements of the damage to their residence. There was no express admission, for statute of limitations purposes, of a date of discovery, whether actual or presumed, of the injury and its negligent cause.
(April Enterprises, Inc.
v.
KTTV, supra,
We find the cases cited in support of Seeno’s waiver argument distinguishable and of no assistance to our analysis here. In
Krupp
v.
Mullen
(1953)
*1069
When considering challenges to the sufficiency of a pleading, the rule is that if it is reasonably possible that a defect in a complaint can be cured by an amendment, the trial court abuses its discretion by dismissing the action.
(Mangini
v.
Aerojet-General Corp., supra,
In the instant case, appellants submitted sufficient documentation in the form of deposition statements and the supplementary declarations to indicate a distinct probability that the complaint could be amended to allege both the facts indicating a 1985 discovery of the harm and the circumstances excusing earlier discovery. In addition, they did request leave to amend prior to entry of judgment, in their motion for reconsideration. 7
Opposition to Seeno’s motion included the 1989 deposition transcript of Susan Kirby in which she stated that she did not notice problems such as sticking doors, bulges in the walls, and cracks until 1985 and that during the previous three years, she was satisfied with the house.
John-Patrick Kirby’s deposition was also attached to the opposition. Mr. Kirby testified that when he pointed out cracks in the stucco during preliminary inspection, he was told they were normal settling cracks that would be more obvious if patched. Although he wanted Seeno to replace a cracked driveway, Seeno refused to do more than patch the crack. Mr. Kirby’s declaration stated that he did not realize that the cracks in the exterior of the house were anything other than normal settling until he talked with his neighbor in August of 1985. At that time he learned for the first time that the *1070 neighbor’s house was constructed on 10 to 12 feet of fill. Kirby reported this to his insurance carrier on March 31, 1986, and the carrier sent engineers to inspect the property.
Although this issue will be a question of fact, the facts alleged in opposition to Seeno’s motion would put the earliest date of discovery in April of 1985. The complaint was filed in December of 1987; thus, appellants are well within the three-year statute. The foregoing evidence establishes a reasonable probability that appellants can amend their complaint to state the necessary facts in support of the delayed discovery rule.
In light of this conclusion, it was an abuse of discretion to dismiss the action without giving appellants an opportunity to amend.
(Anderson
v.
Brouwer, supra, 99
Cal.App.3d 176, 182;
Abari
v.
State Farm Fire & Casualty Co.
(1988)
Conclusion
The summary judgment is reversed with directions to allow appellants to amend their complaint. Costs to appellants.
Newsom, Acting R J., and Stein, J., concurred.
Notes
Unless otherwise indicated, all statutory references are to the Code of Civil Procedure. Section 338, subdivision (b) provides a three-year statute of limitations for actions for trespass or injury to real property. Subdivision (d) provides a three-year period for actions grounded on fraud. It provides that the cause of action does not accrue until “discovery, by the aggrieved party, of the facts constituting the fraud or mistake.” Appellants’ complaint contained causes of action for negligence, misrepresentation, fraud, and breach of implied and express warranties.
Respondent cites
Hicks
v.
Bridges
(1957)
We note that a four-year limitation period is apparently applicable to breach of warranty causes of action based on a written contract.
(Anderson
v.
Brouwer
(1979)
A judicial admission (by affirmative allegation in a pleading) is a conclusive concession of the truth of the matter admitted. (1 Witkin, Cal. Evidence (3d ed. 1986) The Hearsay Rule, § 644, p. 630.) One example of such an admission given in
Electronic Equipment Express, Inc.
v.
Donald H. Seiler & Co., supra,
At oral argument of the summary judgment motion, cocounsel for appellants told the court that insurance counsel drafted the complaint and that he did not know the source of the facts used in the complaint. This indicates a possible drafting error in the complaint. Counsel from the law firm that drafted the complaint admitted it was “inartful.”
We note that the record contains no indication that Seeno called attention to the purported defects in the complaint at an earlier stage in the proceedings.
(Beverage
v.
Canton Placer Mining Co., supra,
Seeno cites dicta in
580 Folsom Associates
v.
Prometheus Development Co., supra,
