Closed (fixed)
Project:
Buddylist
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Jul 2006 at 07:55 UTC
Updated:
19 Jul 2006 at 13:02 UTC
Jump to comment: Most recent file
Hi.. i create a group in my buddylist and checked my buddy so that my buddy will be added in my group. but an warning message appeared.
* warning: Invalid argument supplied for foreach() in /buddylist.module on line 638.
in the buddylist module
foreach ($groups as $label_id => $checked)
this is the code.. on line 638
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | buddy_groups.patch | 868 bytes | quicksketch |
Comments
Comment #1
quicksketchI've confirmed this problem. I'm looking into it.
Comment #2
quicksketchThe foreach() function was iterating through information not applying to the checked groups. This patch loops only through the correct parts of the form.
Comment #3
quicksketchNormal priority, since the adding still works even with the errors
Comment #4
quicksketchCommitted to CVS HEAD.
Comment #5
(not verified) commentedComment #6
uknewperson commentedHi,
I've just installed Buddlylist and have got the same error message. What is the simpliest way for a newby to actually apply the "patch"? ( Never applied a patch before ..only installed about 5 modules ) . I'm hosting on a shared server with no shell access and use phpadmin. Do I have to open a certain line and replace lines using a text editor?