Plugin Directory

Changeset 1250822


Ignore:
Timestamp:
09/22/2015 02:45:42 AM (10 years ago)
Author:
aruljayarajs
Message:

Overwrite default avator

Location:
profile-picture
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • profile-picture/tags/1.0/class/class_pp.php

    r1250820 r1250822  
    9090            $custom_avatar = $upload_dir['baseurl'].$pp_url;
    9191   
    92             if (isset($custom_avatar) && !empty($custom_avatar)) {
     92            if (isset($pp_url) && !empty($pp_url)) {
    9393                $avatar = "<img alt='{$alt}' src='{$custom_avatar}' class='avatar avatar-{$size} photo' height='{$size}' width='{$size}' />";
    9494            }
  • profile-picture/trunk/class/class_pp.php

    r1250820 r1250822  
    9090            $custom_avatar = $upload_dir['baseurl'].$pp_url;
    9191   
    92             if (isset($custom_avatar) && !empty($custom_avatar)) {
     92            if (isset($pp_url) && !empty($pp_url)) {
    9393                $avatar = "<img alt='{$alt}' src='{$custom_avatar}' class='avatar avatar-{$size} photo' height='{$size}' width='{$size}' />";
    9494            }
Note: See TracChangeset for help on using the changeset viewer.