Opinion
Appellants Vincent and Eva Drain appeal from an order taxing costs denying their request for attorneys’ fees.
Facts
The appellants entered into an exclusive listing contract with Sears Realty for the sale of their home in Santa Barbara County. Sears Realty entered into an oral contract with respondent, Bob Jones Realty, in which the respondent agreed to act as a cooperative broker to find a purchaser for the Drain property. Bob Jones located a potential purchaser that submitted an *486 offer on July 28, 1978. This offer was rejected because of potential adverse tax consequences for the Drains.
On August 24, 1978, the appellants received an oral offer from David Boggs which was accepted. The parties agreed to meet August 29, 1978, to reduce the agreement to writing. In the meantime, the Drains received written offers from a purchaser obtained by Bob Jones Realty. These offers were rejected because the Drains had previously agreed to sell the property to Boggs.
Bob Jones Realty and its purchaser, the Masins, filed suit against the Drains and Sears Realty alleging: (1) housing discrimination, (2) misrepresentation, (3) breach of contract, and (4) declaratory relief. The first two causes of action were decided at trial in favor of Sears Realty and the appellants, the Drains. The trial court granted summary judgment on the third and fourth causes of action in favor of the appellants and Sears Realty.
The fourth cause of action was appealed to this court and the ruling of the trial court was affirmed. (See
Masin
v.
Drain, post,
[Reporter’s Note: filed Dec. 2, 1983, rehg. granted Dec. 28, 1983, affd., new opn.
Analysis
The sole issue on appeal is whether or not the trial court correctly denied the appellants’ claim for attorneys’ fees.
The appellants argue that Civil Code section 1717 provides authority for the attorney’s fees award. That section states in pertinent part: “(a) In any action on a contract, where the contract specifically provides that attorney’s fees and costs, which are incurred to enforce the provisions of that contract, shall be awarded either to one of the parties or to the prevailing party, then the party who is determined to be the prevailing party, whether he or she is the party specified in the contract or not, shall be entitled to reasonable attorney’s fees in addition to costs and necessary disbursements.” It is the appellants’ contention that since the respondent brought suit against the Drains for breach of contract which contained an attorney’s fee provision, that the appellants should be able to recover their legal fees as the prevailing party. The respondent asserts that the Drains should not be allowed to recover their costs because the trial court found, as a matter of law, that no contract existed between Bob Jones Realty and the Drains.
The issue raised by the respondent was considered in the case of
Babcock
v.
Omansky
(1973)
This issue was also considered in
Care Constr., Inc.
v.
Century Convalescent Centers, Inc.
(1976)
The seminal case dealing with attorney’s fees on contract causes of action is
Reynolds Metals Co.
v.
Alperson
(1979)
The critical issue to be addressed in this case is whether or not the plaintiff, Bob Jones Realty, clearly would have been entitled to attorney’s fees had it prevailed in enforcing the contract against the defendants Drains.
In considering the question of the clarity of the entitlement to attorney’s fees we must decide whether this issue is to be resolved based upon the pleadings or based upon the evidence. We believe that the issue must turn on the pleadings.
The respondent’s third cause of action against the appellants was for breach of a written contract containing an attorney’s fees provision. The *488 appellants prevailed on this cause of action when their motion for summary judgment was granted and the respondent failed to appeal the ruling. Consequently, the appellants satisfied all of the elements set forth in Civil Code section 1717 for the recovery of attorney’s fees.
The respondent argues there was no possibility that it could have recovered attorney’s fees against the appellants because the respondent was not a party to or a beneficiary of the contract. This argument is disingenuous to say the least. The essence of the respondent’s position is that its cause of action was so devoid of merit that there was no possibility that it ever could have prevailed. As a consequence, the respondent contends that there was no likelihood that it could ever obtain a judgment for breach of contract and as a result, it could never obtain an award of attorney’s fees against the appellants. Given this scenario, the respondent asserts that the mutuality of attorney’s fees provision of Civil Code section 1717 should not be involved.
The respondent cites several cases which it asserts supports its position. The first of these is
Canal-Randolph Anaheim, Inc.
v.
Wilkoski
(1978)
The respondent’s reliance upon
Canal-Randolph
is misplaced. The
Canal-Randolph
court relied exclusively upon the
Arnold
and
Boliver
cases to support its proposition that one must be a party to the contract to recover attorney’s fees under Civil Code section 1717. The
Arnold
case was expressly disapproved by the California Supreme Court in
Reynolds Metals Co.
v.
Alperson, supra,
*489
The respondent relies heavily upon
Boliver
v.
Surety Co., supra,
Star Pacific Investments, Inc.
v.
Oro Hills Ranch, Inc.
(1981)
The respondent also places a great deal of reliance on
Saucedo
v.
Mercury Sav. & Loan Assn.
(1980)
What the respondent ignores is that had it prevailed in its cause of action against the appellants it would have been entitled to attorney’s fees. This issue became somewhat obscured in the trial court because of the fact that the respondent’s case was so completely without merit. However, even though the respondent possessed no evidence to support its cause of action it was capable of alleging sufficient facts in its pleadings to force the appellants to wage a defense.
The courts have consistently held that the award of Civil Code section 1717 contractual attorney’s fees is to be governed by equitable principles.
(International Industries, Inc.
v.
Olen
(1978)
The judgment of the trial court in regards to attorneys’ fees is reversed and remanded for a hearing to determine the appellants’ attorneys’ fees and costs.
Abbe, J., and Gilbert, J., concurred.
A petition for a rehearing was denied December 28, 1983, and respondent’s petition for a hearing by the Supreme Court was denied February 16, 1984.
