]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Email.php
Merge pull request #13724 from Raroun/Fix-for-Issue-#13637---Photo-caption-prevents...
[friendica.git] / src / Protocol / Email.php
index be10ca0815e34bd490706f5b13e48bb3f0e8e8e5..35f5fdfdd40eed482afacbf7ac08419df4f4e11a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -51,12 +51,12 @@ class Email
 
                $errors = imap_errors();
                if (!empty($errors)) {
-                       Logger::notice('IMAP Errors occured', ['errors' => $errors]);
+                       Logger::notice('IMAP Errors occurred', ['errors' => $errors]);
                }
 
                $alerts = imap_alerts();
                if (!empty($alerts)) {
-                       Logger::notice('IMAP Alerts occured: ', ['alerts' => $alerts]);
+                       Logger::notice('IMAP Alerts occurred: ', ['alerts' => $alerts]);
                }
 
                return $mbox;
@@ -322,7 +322,7 @@ class Email
                }
 
                if ($out_str && $charset) {
-                       // define start delimimter, end delimiter and spacer
+                       // define start delimiter, end delimiter and spacer
                        $end = "?=";
                        $start = "=?" . $charset . "?B?";
                        $spacer = $end . "\r\n " . $start;