1
0
mirror of synced 2024-12-13 22:56:04 +03:00

Lowercase as.

This commit is contained in:
Jonathan.Wage 2007-09-17 21:22:00 +00:00
parent 5c098a22b1
commit f3bdcb9118

View File

@ -103,11 +103,11 @@ abstract class Doctrine_Import_Schema
public function buildRelationships($array) public function buildRelationships($array)
{ {
foreach($array AS $name => $properties) { foreach($array as $name => $properties) {
$className = $properties['className']; $className = $properties['className'];
$relations = $properties['relations']; $relations = $properties['relations'];
foreach ($relations AS $alias => $relation) { foreach ($relations as $alias => $relation) {
$class = isset($relation['class']) ? $relation['class']:$alias; $class = isset($relation['class']) ? $relation['class']:$alias;
$relation['alias'] = $alias; $relation['alias'] = $alias;