Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----Starting with line 123-----
- if ( $sitedetails && !in_array( $blog, $excluded ) ) { //if the blog exists and isn't on the exclusion list add it to array
- if ( $sortby == 0 ) { //proper array construction depending on sort
- $siteArray[$sitedetails[1]->option_value]['url'] = $sitedetails[0]->option_value;
- $siteArray[$sitedetails[1]->option_value]['id'] = $blog;
- $siteArray[$sitedetails[1]->option_value]['desc'] = $sitedetails[2]->option_value;
- } else {
- $siteArray[$blog]['url'] = $sitedetails[0]->option_value;
- $siteArray[$blog]['title'] = $sitedetails[1]->option_value;
- $siteArray[$blog]['desc'] = $sitedetails[2]->option_value;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement