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->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
Comment #1
hoppurr CreditAttribution: hoppurr commenteddelete th is one, it's wrong
Comment #2
jimbullington CreditAttribution: jimbullington commented