]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Attach.php
Merge pull request #13831 from friendica/warning
[friendica.git] / src / Module / Attach.php
index c924934b7bc2cc2adaa9f1485abded8c8b5ae517..7d877c12655b0a11efa78413a0debaadc1e8d93c 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2023, the Friendica project
+ * @copyright Copyright (C) 2010-2024, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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.'));