X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FPayment.php;h=77bbeaf93b2ab5da84af9f061369b54ab6df798c;hb=b7e7f9434ecf39b2a86d36c47667703ba257a671;hp=db6a77f1e92a1c90e93c9850f558283805c94413;hpb=bae1bc6982bd054d931ed0cf91344c1a03c98871;p=civicrm-core.git diff --git a/CRM/Core/Payment.php b/CRM/Core/Payment.php index db6a77f1e9..77bbeaf93b 100644 --- a/CRM/Core/Payment.php +++ b/CRM/Core/Payment.php @@ -1200,8 +1200,7 @@ abstract class CRM_Core_Payment { break; } - $session = CRM_Core_Session::singleton(); - $userId = $session->get('userID'); + $userId = CRM_Core_Session::singleton()->get('userID'); $contactID = 0; $checksumValue = ''; $entityArg = '';