Skip to content

Commit 1bdcb35

Browse files
committed
bugfixed
1 parent 141757d commit 1bdcb35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Controllers/Frontend/Page/PageController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function myCourses()
112112
//show all my payments/payment history in frontend
113113
public function myPayments()
114114
{
115-
$payments = User::find(auth()->id())->purchases;
115+
$payments = User::find(auth()->id())->purchases();
116116
return view('frontend.pages.myPayments', compact('payments'));
117117
}
118118
//Contact Developers page:

0 commit comments

Comments
 (0)