Correctly obtain the project license.

Change-Id: I2b9acc3a31647c20fe0a736f041f390174355533
diff --git a/services/license_check.php b/services/license_check.php
index 68232a4..f7594bb 100755
--- a/services/license_check.php
+++ b/services/license_check.php
@@ -166,11 +166,12 @@
 		// ClearlyDefined coordinates. If we can identify the project
 		// then we can provide more information back.
 		if ($projectId = getEclipseProjectFor($id)) {
-			$license = License::getLicense($projectId);
+			$licenses = License::getLicensesForProject($projectId);
+			$spdx = License::getSPDXExpression($licenses);
 			unset($results['unmatched'][$id]);
 			$results['approved'][$id] = array(
 					'id' => $id,
-					'license' => $license == null ? '' : $license->getSPDXCode(),
+					'license' => $spdx,
 					'status' => 'approved',
 					'sourceUrl' => '',
 					'definitionUrl' => '',