]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/ActivityPub/Processor.php
Merge remote-tracking branch 'upstream/develop' into http-417
[friendica.git] / src / Protocol / ActivityPub / Processor.php
index 48af31cc65e9775fe423dd0b0a32a56baecfd000..50e8dd91e8f5ec6726750d263c4ca99b341a2812 100644 (file)
@@ -893,7 +893,7 @@ class Processor
 
                // Extract one prepended mention at a time from the body
                while(preg_match('#^(@\[url=([^\]]+)].*?\[\/url]\s)(.*)#is', $body, $matches)) {
-                       if (!in_array($matches[2], $potential_mentions) ) {
+                       if (!in_array($matches[2], $potential_mentions)) {
                                $kept_mentions[] = $matches[1];
                        }