]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/DFRN.php
Merge pull request #10627 from annando/like-announce
[friendica.git] / src / Protocol / DFRN.php
index 832e2bde23f7952c1dd658cef1c61760c4953b49..cd63291eed16bda98f3ce376f3bd8d85bdeb709e 100644 (file)
@@ -985,7 +985,7 @@ class DFRN
                        return -9; // timed out
                }
 
-               if (($curl_stat == 503) && (stristr($postResult->getHeader(), 'retry-after'))) {
+               if (($curl_stat == 503) && $postResult->inHeader('retry-after')) {
                        return -10;
                }