Download & Extend

user relationships import fail

Project:FriendList
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

I tried importing my user relationships into friendlist and received an error:

PHP Fatal error: Call to undefined function friendlist_api_set_relations_field() in /home/clients/websites/w_new/public_html/new/sites/all/modules/friendlist/friendlist_import_ur/friendlist_import_ur.module on line 84

Upon closer examination, it appears there is a type-o in the friendlist_import_ur.module. I compared it with friendlist_api.module and friendlist_import_bl.module and found that the function should be friendlist_api_set_relation_field() (no "s"). I fixed the type-o and was able to import but wanted to let you know in case you were unaware.

Thanks
Brandon

Comments

#1

Thank you for this!!! I could not figure out why I was getting that error!

#2

Status:active» needs review

Untested patch created based on description.

AttachmentSize
friendlist.20091007.patch 4.5 KB
nobody click here