Development

Changeset 7667

You must first sign up to be able to contribute.

Changeset 7667

Show
Ignore:
Timestamp:
02/28/08 12:23:21 (2 years ago)
Author:
fabien
Message:

fixed sfFormField when a simple widget has a validator schema as a validator

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/form/sfFormField.class.php

    r7152 r7667  
    105105    } 
    106106 
    107     $error = $this->error instanceof sfValidatorErrorSchema ? $this->getWidget()->getGlobalErrors($this->error) : $this->error; 
     107    $error = $this->getWidget() instanceof sfWidgetFormSchema ? $this->getWidget()->getGlobalErrors($this->error) : $this->error; 
    108108 
    109109    return $this->parent->getWidget()->getFormFormatter()->formatErrorsForRow($error); 

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.