Closed (fixed)
Project:
ShareThis
Version:
5.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2009 at 03:53 UTC
Updated:
8 Apr 2009 at 22:00 UTC
The Drupal 5 backport doesn't send the absolute URL to the social networking site. The module doesn't use the proper Drupal 5 API for url(). On lines 125 and 148 I replaced the url() function with the proper one for Drupal 5. So:
'url' => url('node/'. $node->nid, array('absolute' => TRUE)),
becomes
'url' => url('node/'. $node->nid, NULL, NULL, TRUE),
It seems to work after that, but I haven't checked it out thoroughly.
Comments
Comment #1
robloachThanks! http://drupal.org/cvs?commit=188582