Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
hoppurr CreditAttribution: hoppurr commenteder
this is what it is
this is what it should be
sigh, i cant get anything right today X.X
Comment #2
jimbullington CreditAttribution: jimbullington commentedThanks 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...