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

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

er
this is what it is

  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);
    }

this is what it should be

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

sigh, i cant get anything right today X.X

jimbullington’s picture

Status: Active » Fixed

Thanks for the report - however this should already be corrected in the 5.x-1.0-dev version.

See http://drupalcode.org/viewvc/drupal/contributions/modules/bracket/bracke...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.