Fix error with terms and controllers page

This commit is contained in:
DariusIII
2025-12-27 03:18:21 +01:00
parent 0c10e82787
commit ebb8aba72b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class TermsController extends BasePageController
$meta_description = 'Terms and Conditions for '.config('app.name');
// Get terms content from settings
$terms_content = $this->settings->tandc ?? '<p>No terms and conditions have been set yet.</p>';
$terms_content = $this->settings->get('tandc') ?? '<p>No terms and conditions have been set yet.</p>';
return view('terms', compact('title', 'meta_title', 'meta_keywords', 'meta_description', 'terms_content'));
}