AccountSettings: list tags owned by current user

This commit is contained in:
Aaron committed 2023-03-11 20:27:09 +01:00
1 parent daa8b051c5
commit a76dde927b
3 files changed
+56

No files matched your search

+5
View File
@@ -73,6 +73,11 @@ class AccountSettings extends HTMLController
$formview = new FormView($form, $form_title);
$this->page->adopt($formview);
// Fetch user tags
$tags = Tag::getAllByOwner($user->getUserId());
if (!empty($tags))
$this->page->adopt(new MyTagsView($tags));
// Left a message?
if (isset($_SESSION['account_msg']))
{