Changeset 1222 for sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/class-list-table.php
- Timestamp:
- 02/04/2015 11:46:59 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/class-list-table.php
r1000 r1222 45 45 */ 46 46 public function set_view( $view ) { 47 $this->view = 'over view';48 if ( in_array( $view, array( ' overview', 'pending', 'overdue' ) ) )47 $this->view = 'overdue'; 48 if ( in_array( $view, array( 'pending', 'overdue', 'paid' ) ) ) 49 49 $this->view = $view; 50 50 } … … 87 87 } elseif ( 'pending' == $this->view ) { 88 88 $where .= " AND `status` = 'unpaid' "; 89 } elseif ( 'paid' == $this->view ) { 90 $where .= " AND `status` = 'paid' "; 89 91 } 90 92
Note: See TracChangeset
for help on using the changeset viewer.