diff options
-rw-r--r-- | core/functions.php | 2 | ||||
-rw-r--r-- | core/include/user/main.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/functions.php b/core/functions.php index 4befb19..4b3eabd 100644 --- a/core/functions.php +++ b/core/functions.php @@ -91,7 +91,7 @@ function generateItemTemplateData(Item $Item): array { 'NEXT' => FALSE, 'FILE' => [ - 'LIST' => $Item->getFiles() + 'LIST' => getMarkdownImageURLs($preparsed), ], 'BODY' => [ diff --git a/core/include/user/main.php b/core/include/user/main.php index 3b8b25a..34ec883 100644 --- a/core/include/user/main.php +++ b/core/include/user/main.php @@ -51,7 +51,7 @@ try { 'NAME' => $user_data['ATTR']['FULLNAME'], 'DESC' => description($user_data['BODY']['HTML'](), Application::get('USER.DESCRIPTION_SIZE')), 'PERM' => $user_data['URL'], - 'OG_IMAGES' => $User->getFiles() + 'OG_IMAGES' => $user_data['FILE']['LIST'] ]); # Get access to the current item data from main template |