Closed (fixed)
Project:
LinkedIn Integration
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2012 at 11:43 UTC
Updated:
16 Jun 2012 at 01:21 UTC
There is a typo in linkedin.module which causes an infinite loop.
function linkedin_put_profile_field($uid, $body, $api = 'shares') {
module_load_include('inc', 'linkedin');
return linkedin_put_profile_field($uid, $body, $api);
}
Presumably this should be:
function linkedin_put_profile_field($uid, $body, $api = 'shares') {
module_load_include('inc', 'linkedin');
return _linkedin_put_profile_field($uid, $body, $api);
}
Note the leading '_' of the function name in the line return _linkedin_put_profile_field($uid, $body, $api);.
I have attached a patch file. This seems to fix the issue for me.
| Comment | File | Size | Author |
|---|---|---|---|
| linkedin.module.patch | 380 bytes | danieljrmay |
Comments
Comment #1
davad commentedThanks for the patch. Committed the change.