]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Attach.php
Remove DI dependency from Module\Contact\Profile
[friendica.git] / src / Module / Attach.php
index c924934b7bc2cc2adaa9f1485abded8c8b5ae517..b70e4342976e52259f2de84dd510eb04df581212 100644 (file)
@@ -49,7 +49,7 @@ class Attach extends BaseModule
                        throw new \Friendica\Network\HTTPException\NotFoundException(DI::l10n()->t('Item was not found.'));
                }
 
-               // Now we'll fetch the item, if we have enough permisson
+               // Now we'll fetch the item, if we have enough permission
                $item = MAttach::getByIdWithPermission($item_id);
                if ($item === false) {
                        throw new \Friendica\Network\HTTPException\ForbiddenException(DI::l10n()->t('Permission denied.'));