Actually store the date for a payment request correctly

master
Sven Slootweg 12 years ago
parent 66ca3984a2
commit 47555353b0

@ -67,7 +67,7 @@ class Subscription extends CPHPDatabaseRecordClass
$sPaymentRequest->uSubscriptionId = $this->sId;
$sPaymentRequest->uKey = random_string(16);
$sPaymentRequest->uPaid = false;
$sPaymentRequest->uDate = time();
$sPaymentRequest->uIssueDate = time();
$sPaymentRequest->InsertIntoDatabase();
/* Log an event */

Loading…
Cancel
Save