Plugin Directory

Changeset 392845

Timestamp:
06/03/2011 07:38:47 PM (13 years ago)
Author:
alternatekev
Message:

merged changeset 36211 from wp.com plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • polldaddy/trunk/polldaddy.php

    r392843 r392845  
    318318    function set_api_user_code() {
    319319
    320         $this->user_code = get_option( 'pd-usercode' );     
     320        $this->user_code = get_option( 'pd-usercode );     
    321321
    322322        if ( empty( $this->user_code ) ) {
     
    327327           
    328328            if ( !empty( $this->user_code ) ) {
    329                 update_option( 'pd-usercode', $this->user_code );
     329                update_option( 'pd-usercode, $this->user_code );
    330330            }
    331331        }
     
    455455               
    456456                $this->user_code = '';
    457                 update_option( 'pd-usercode', '' );
     457                update_option( 'pd-usercode, '' );
    458458
    459459                if ( $new_args = $this->management_page_load_signup() )
     
    721721
    722722                $update_response = $polldaddy->update_poll( $poll, $poll_data );
    723 
    724723                $this->parse_errors( $polldaddy );
    725724
Note: See TracChangeset for help on using the changeset viewer.