if ($node->sponsorlogopath) {
    $abs = preg_match("/^https?:\/\//", $node->sponsorlogopath);
    if ($abs) {
      $imgurl = $node->logopath; // this line (line  520)
    }
    else {
      $imgurl = file_create_url($node->logopath);
    }

should be

  if ($node->sponsorlogopath) {
    $abs = preg_match("/^https?:\/\//", $node->sponsorlogopath);
    if ($abs) {
      $imgurl = $node->logopath; // this line (line  520)
    }
    else {
      $imgurl = file_create_url($node->sponsorlogopath);
    }

Comments

hoppurr’s picture

delete th is one, it's wrong

jimbullington’s picture

Status: Active » Closed (fixed)