Project:Buddylist2
Version:6.x-1.x-dev
Component:Buddy API
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Hi,
Then i try to create second relashionsip tipe in my site I get this error:
user warning: Duplicate entry '' for key 2 query: INSERT INTO ******_buddylist_relationtypes (mname, name, oneway, backrelation, active) VALUES ('', 'Buddy', 0, 0, 1) in /var/www/html/includes/common.inc on line 3425.
So, may be somebody knows the solution and why it hapens?

Comments

#1

In database "mname" field is set to "unique" and adding another relation type it will rise the error, use manual entry into the database for relation type

nobody click here