Skip to content

Commit

Permalink
Merge branch 'feature/empty-broadcast-account-warnings' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
jondavidjohn committed Feb 27, 2013
2 parents 94685a8 + f8b6006 commit 3432233
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -276,6 +276,10 @@ This version fixes several bugs and may help with HostGator's weird server "secu

## Changelog

**develop**

* Remove warnings related to broadcasting to no accounts

**2.7**

* New Social proxy endpoint (the old one will go away on Jan 15th)
Expand Down
4 changes: 4 additions & 0 deletions lib/social/controller/broadcast.php
Expand Up @@ -462,6 +462,10 @@ public function action_run($post_id = null) {
$personal_accounts = null;
$errored_accounts = false;
$broadcast_accounts = get_post_meta($post->ID, '_social_broadcast_accounts', true);
if (empty($broadcast_accounts)) {
$broadcast_accounts = array();
}

$broadcasted_ids = get_post_meta($post->ID, '_social_broadcasted_ids', true);
if (empty($broadcasted_ids)) {
$broadcasted_ids = array();
Expand Down

0 comments on commit 3432233

Please sign in to comment.