Closed (fixed)
Project:
Share
Version:
5.x-2.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2008 at 18:18 UTC
Updated:
17 Apr 2008 at 19:51 UTC
Hi.
This may be due to the fact that I'm not using share in the $links variable and instead throwing it into $content and then taking it out fur use as a separate phptemplate variable, but I found that the base_path() before the share url in the module was causing links to break.
This simple patch solves the problem in my situation. I'll post a patch for the dev version also.
Erik.
| Comment | File | Size | Author |
|---|---|---|---|
| share_base_path_bug_5.x-2.x-dev.diff | 549 bytes | erikhopp | |
| share_base_path_bug_5.x-2.0-alpha1.diff | 549 bytes | erikhopp |
Comments
Comment #1
greenskin commentedGood catch, not sure why I put base_path() inside the l() function as it automatically adds the base_path(). Committed, next available snapshot of dev should contain the fix.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.