• I created a field with this.
    for example:

    $img = xprofile_get_field_data(999, $user_id);

    when i use code like :

    if(!empty($img)){echo ”;}

    and i found:
    this field will always remain not empty even if you deleted the photo you uploaded.

Viewing 1 replies (of 1 total)
  • Plugin Author Alex Githatu

    (@kalengi)

    Hello,

    A few questions:

    1. How did you delete the image?
    2. What is $img showing when you expect it to be empty?
    3. What are you intending to achieve with empty $img?

Viewing 1 replies (of 1 total)
  • The topic ‘Bugs…’ is closed to new replies.