diff options
Diffstat (limited to 'views/profile/index.php')
| -rw-r--r-- | views/profile/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/profile/index.php b/views/profile/index.php index dad2070..0a10e4a 100644 --- a/views/profile/index.php +++ b/views/profile/index.php @@ -18,7 +18,7 @@ <h2 onclick="openArchives()">Archives</h2> <h2 onclick="openLists()">Lists</h2> <section id="user-archives"> - <?php foreach (Database\Webpage::allArchivesByUser($user->UID) as $page): ?> + <?php foreach ($user->archives() as $page): ?> <section class="item"> <section> <div> @@ -51,7 +51,7 @@ </section> <section id="user-lists" hidden> - <?php foreach(Database\ArchiveList::allListsByUser($user->UID) as $list): ?> + <?php foreach($user->archiveLists() as $list): ?> <section> <?= $list->Name ?> <?= $list->Description ?> |
