Removed the use of CLASS_DEFAULT constant
This commit is contained in:
parent
c666ae7e76
commit
3397d7422d
|
@ -194,8 +194,7 @@ abstract class AbstractDataLoader extends AbstractDataHandler implements DataLoa
|
|||
|
||||
// save the object for future reference
|
||||
if (method_exists($obj, 'getPrimaryKey')) {
|
||||
$class_default = constant(constant($class.'::PEER').'::CLASS_DEFAULT');
|
||||
$this->object_references[Propel::importClass($class_default).'_'.$key] = $obj;
|
||||
$this->object_references[$class.'_'.$key] = $obj;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue