Changeset 1110

Show
Ignore:
Timestamp:
03/30/09 15:52:27 (3 months ago)
Author:
jarno
Message:

Fixed calling a non-existant Peer class when the "propel.classPrefix" build property is used.

Closes: #735

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/1.3/runtime/classes/propel/validator/UniqueValidator.php

    r989 r1110  
    4848                $c->add($column->getFullyQualifiedName(), $str, Criteria::EQUAL); 
    4949 
    50                 $isValid = false; 
    51  
    52                 $table = $column->getTable()->getPhpName(); 
     50                $table = $column->getTable()->getClassName(); 
    5351 
    5452                $clazz = $table . 'Peer';