WordPress.org

Plugin Directory

Changeset 766222


Ignore:
Timestamp:
09/03/13 11:23:02 (8 months ago)
Author:
donncha
Message:

Cast the return value as an array to avoid a warning when merging it with default arguments later.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • polldaddy/trunk/polldaddy.php

    r764251 r766222  
    10411041        switch ( $_POST['account'] ) { 
    10421042        case 'import' : 
    1043             return $this->import_account(); 
     1043            return array( $this->import_account() ); 
    10441044            break; 
    10451045        default : 
Note: See TracChangeset for help on using the changeset viewer.