@@ -99,7 +99,7 @@ |
||
| 99 | 99 | // Should double-check with paypal everytime ? |
| 100 | 100 | $context = $info->get_context(); |
| 101 | 101 | $allow = $DB->record_exists('availability_paypal_tnx', |
| 102 | - array('userid' => $userid, |
|
| 102 | + array('userid' => $userid, |
|
| 103 | 103 | 'contextid' => $context->id, |
| 104 | 104 | 'payment_status' => 'Completed')); |
| 105 | 105 | if ($not) { |