Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

Commit

Permalink
Initialize a variable, that will later be used as an array, as an array.
Browse files Browse the repository at this point in the history
  • Loading branch information
benlk committed Sep 26, 2018
1 parent 5271e25 commit 63c25f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion push_story.php
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ function nprstory_get_push_post_type() {
}

function nprstory_get_permission_groups(){
$perm_groups = '';
$perm_groups = array();
//query the API for the lists for this org.
$perm_url = get_option( 'ds_npr_api_push_url' ) . '/orgs/' . get_option( 'ds_npr_api_org_id' ) . '/groups' . '?apiKey=' . get_option('ds_npr_api_key');
$http_result = wp_remote_get( $perm_url );
Expand Down

0 comments on commit 63c25f0

Please sign in to comment.