r4370 - branches/0.11/lib/Doctrine/Data

0 views
Skip to first unread message

no-r...@phpdoctrine.org

unread,
May 16, 2008, 9:17:15 PM5/16/08
to doctri...@googlegroups.com
Author: jwage
Date: 2008-05-17 02:17:12 +0100 (Sat, 17 May 2008)
New Revision: 4370

Modified:
branches/0.11/lib/Doctrine/Data/Export.php
Log:
fixes #1036


Modified: branches/0.11/lib/Doctrine/Data/Export.php
===================================================================
--- branches/0.11/lib/Doctrine/Data/Export.php 2008-05-17 01:16:09 UTC (rev 4369)
+++ branches/0.11/lib/Doctrine/Data/Export.php 2008-05-17 01:17:12 UTC (rev 4370)
@@ -194,7 +194,7 @@
$relationValue = $relationClassName . '_' . $value;

$preparedData[$className][$recordKey][$relationAlias] = $relationValue;
- } else {
+ } else if ($record->getTable()->hasColumn($key)) {
$preparedData[$className][$recordKey][$key] = $value;
}
}

Reply all
Reply to author
Forward
0 new messages