Fix: broken feature: Check the entity because He may be the same

reference in several entities
This commit is contained in:
Regis Houssin 2015-07-03 08:18:32 +02:00
parent 9c99cae911
commit e58957e603

View File

@ -311,7 +311,7 @@ function getPaypalPaymentUrl($mode,$type,$ref='',$amount='9.99',$freetag='your_f
}
// For multicompany
//$out.="&entity=".$conf->entity; // This should not be into link. Link contains already a ref of an object that allow to retreive entity
$out.="&entity=".$conf->entity; // Check the entity because He may be the same reference in several entities
return $out;
}