Plugin Directory

Changeset 873457


Ignore:
Timestamp:
03/11/2014 03:25:40 PM (12 years ago)
Author:
niccolo_tapparo
Message:

fixed some notices

Location:
wordpress-social-ring
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • wordpress-social-ring/tags/1.2.6/admin/admin.php

    r872906 r873457  
    16641664
    16651665
    1666         $sr_buttons = explode("|", $this->options['social_visible_buttons_list']);
    1667 
     1666        if( isset( $this->options['social_visible_buttons_list'] ) ) {
     1667            $sr_buttons = explode("|", $this->options['social_visible_buttons_list']);
     1668        } else {
     1669            $sr_buttons = array();
     1670        }
    16681671
    16691672       
  • wordpress-social-ring/tags/1.2.6/includes/library.php

    r872906 r873457  
    12461246
    12471247
    1248 
    1249         return $image;
     1248        if( ! empty( $image ) ) {
     1249            return $image;
     1250        } else {
     1251            return null;
     1252        }
    12501253
    12511254    }
  • wordpress-social-ring/trunk/admin/admin.php

    r872879 r873457  
    16641664
    16651665
    1666         $sr_buttons = explode("|", $this->options['social_visible_buttons_list']);
    1667 
     1666        if( isset( $this->options['social_visible_buttons_list'] ) ) {
     1667            $sr_buttons = explode("|", $this->options['social_visible_buttons_list']);
     1668        } else {
     1669            $sr_buttons = array();
     1670        }
    16681671
    16691672       
  • wordpress-social-ring/trunk/includes/library.php

    r872906 r873457  
    12461246
    12471247
    1248 
    1249         return $image;
     1248        if( ! empty( $image ) ) {
     1249            return $image;
     1250        } else {
     1251            return null;
     1252        }
    12501253
    12511254    }
Note: See TracChangeset for help on using the changeset viewer.