Plugin Directory

Changeset 1333381


Ignore:
Timestamp:
01/22/2016 03:05:28 AM (10 years ago)
Author:
drobertsorg
Message:

Used not totally supported array initialization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-legisearch/trunk/DataClasses/Legislator.class.php

    r1333368 r1333381  
    110110    public function get_primary_sponsored_tracked_bills() {
    111111        $tracked_bills = legisearch_get_all_tracked_bills();
    112         $primary_sponsored_bills = [];
     112        $primary_sponsored_bills = array();
    113113        foreach( $tracked_bills as $bill ) {
    114114            if( $bill->is_primary_sponsor( $this ) ) {
     
    121121    public function get_cosponsored_tracked_bills() {
    122122        $tracked_bills = legisearch_get_all_tracked_bills();
    123         $cosponsored_bills = [];
     123        $cosponsored_bills = array();
    124124        foreach( $tracked_bills as $bill ) {
    125125            if( $bill->is_cosponsor( $this ) ) {
Note: See TracChangeset for help on using the changeset viewer.