Skip to content

Commit 888f663

Browse files
committed
Merge branch 'master' of github.com:chamilo/chamilo-lms
2 parents ead0f30 + 1fa4123 commit 888f663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CoreBundle/DataProvider/Extension/CourseRelUserExtension.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public function applyToCollection(
5151
$metaData = $this->entityManager->getClassMetadata($resourceClass);
5252
if ($metaData->hasAssociation('course')) {
5353
$queryBuilder
54-
->innerJoin("$rootAlias.course", 'c')
55-
->innerJoin('c.urls', 'url_rel')
54+
->innerJoin("$rootAlias.course", 'co')
55+
->innerJoin('co.urls', 'url_rel')
5656
->andWhere('url_rel.url = :access_url_id')
5757
->setParameter('access_url_id', $accessUrl->getId())
5858
;

0 commit comments

Comments
 (0)