wrong path in image URL

BradM - June 28, 2007 - 01:07
Project:OG Teampage
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:MartinSfromB
Status:closed
Description

Hi, not sure why I'm getting this, but the default image URL shows up as:

http://path/to/portal/node/modules/og_teampage/no-pic.png

There is a stray "node" in the URL. I changed the .module file (line 107) to this:

$picsource = base_path().drupal_get_path('module', 'og_teampage').'/no-pic.png';

...and that seemed to fix it.

Brad

#1

MartinSfromB - June 29, 2007 - 08:24
Assigned to:Anonymous» MartinSfromB
Status:active» fixed

You're right.
Fixed with commits 71811 and 71812. Thanks for the 'patch'!

#2

Anonymous - July 13, 2007 - 08:47
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.