Skip to content

[DDC-2519] Partial association identifier #705

Merged
merged 1 commit into from Jun 23, 2013

2 participants

@guilhermeblanco guilhermeblanco and 1 other commented on an outdated diff Jun 20, 2013
lib/Doctrine/ORM/Query/Parser.php
@@ -670,6 +670,13 @@ private function processDeferredPartialObjectExpressions()
continue;
}
+ if (isset($class->associationMappings[$field])
+ && $class->associationMappings[$field]['isOwningSide']
+ && $class->associationMappings[$field]['type'] & ClassMetadata::TO_ONE) {
+
@guilhermeblanco
Doctrine member

Why this extra line space? Also... comparison operator at wrong line.

if (isset($class->associationMappings[$field]) && 
    $class->associationMappings[$field]['isOwningSide'] && 
    $class->associationMappings[$field]['type'] & ClassMetadata::TO_ONE) {
    continue;
}
@FabioBatSilva
Doctrine member

Done !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@guilhermeblanco guilhermeblanco merged commit 2ce72f3 into doctrine:master Jun 23, 2013

1 check passed

Details default The Travis CI build passed
@FabioBatSilva FabioBatSilva deleted the FabioBatSilva:DDC-2519 branch Jun 23, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.