]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/omb.php
Revert "fixed up some invalid comment syntax - this is ANSI SQL"
[quix0rs-gnu-social.git] / lib / omb.php
index 0d62445991a4b5a08399217248c3556a1267c4d5..7dca760c6951da3c72e2e71132d7c6c133d12400 100644 (file)
@@ -135,7 +135,7 @@ function omb_broadcast_remote_subscribers($notice)
     $posted = array();
 
     while ($rp->fetch()) {
-        if (!$posted[$rp->postnoticeurl]) {
+        if (!array_key_exists($rp->postnoticeurl, $posted)) {
             common_log(LOG_DEBUG, 'Posting to ' . $rp->postnoticeurl);
             if (omb_post_notice_keys($notice, $rp->postnoticeurl, $rp->token, $rp->secret)) {
                 common_log(LOG_DEBUG, 'Finished to ' . $rp->postnoticeurl);