From 4f1a4c4c8a73a3ab4d866f2d47a5d516e872869a Mon Sep 17 00:00:00 2001 From: Art4 Date: Thu, 21 Nov 2024 09:56:56 +0000 Subject: [PATCH] Replace App with AppHelper --- mod/photos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/photos.php b/mod/photos.php index abd62989a2..3afca2db2a 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -49,7 +49,7 @@ function photos_init() Nav::setSelected('home'); if (DI::args()->getArgc() > 1) { - $owner = Profile::load(DI::app(), DI::args()->getArgv()[1], false); + $owner = Profile::load(DI::appHelper(), DI::args()->getArgv()[1], false); if (!isset($owner['account_removed']) || $owner['account_removed']) { throw new HTTPException\NotFoundException(DI::l10n()->t('User not found.')); }