Closed (fixed)
Project:
Buddylist2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2007 at 18:07 UTC
Updated:
17 Jan 2008 at 08:35 UTC
Hello,
I use this code in my module:
buddy_api_add_oneway($account1, $account2, $buddyinfo);
If the users are already buddies I get the following warning:
user warning: Duplicate entry '70-2' for key 1 query: INSERT INTO buddylist (received, uid, buddy, timestamp) VALUES (1, 70, 2, 1195915421) in /kunden/189498_65187/devel/includes/database.mysql.inc on line 172.
Shouldn't check the buddy_api_add_oneway()-function for dublicates?
Regards,
macco
Comments
Comment #1
nodestroy commentedfixed :)
Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #3
nodestroy commented