diff --git a/modules/saml/www/sp/metadata.php b/modules/saml/www/sp/metadata.php
index e6ef139b9c9267fdef088cead23afdc9f423ed5d..5f05ad4e8a43b8dbec3964196c6e3c240f86dcd5 100644
--- a/modules/saml/www/sp/metadata.php
+++ b/modules/saml/www/sp/metadata.php
@@ -16,26 +16,23 @@ if (!($source instanceof sspmod_saml_Auth_Source_SP)) {
 }
 
 $entityId = $source->getEntityId();
-
 $metaArray11 = array(
 	'AssertionConsumerService' => SimpleSAML_Module::getModuleURL('saml/sp/saml1-acs.php'),
 );
 
 $spconfig = $source->getMetadata();
-
 if ($spconfig->getBoolean('saml11.binding.artifact.enable', FALSE)) {
 	$metaArray11['AssertionConsumerService.artifact'] = SimpleSAML_Module::getModuleURL('saml/sp/saml1-acs.php/artifact');
 }
 
 
-
 $metaArray20 = array(
 	'AssertionConsumerService' => SimpleSAML_Module::getModuleURL('saml/sp/saml2-acs.php'),
 	'SingleLogoutService' => SimpleSAML_Module::getModuleURL('saml/sp/saml2-logout.php/' . $sourceId),
 );
 	
 if ($spconfig->getBoolean('saml20.binding.artifact.enable', FALSE)) {
-	$metaArray20['AssertionConsumerService.artifact'] = SimpleSAML_Module::getModuleURL('saml/sp/saml2-acs.php/artifact');
+	$metaArray20['AssertionConsumerService.artifact'] = SimpleSAML_Module::getModuleURL('saml/sp/saml2-acs.php');
 }