What steps will reproduce the problem?
1. Create a connection
2. Connect
3. Call presence
What is the expected output? What do you see instead?
If everything was ok i expect no notice buy instead i get:
Notice: Undefined index: type in lib/XMPPHP/XMPP.php on line 216
Notice: Undefined index: type in lib/XMPPHP/XMPP.php on line 219
What version of the product are you using? On what operating system?
0.1beta-r50
Please provide any additional information below.
How to fix:
Change line 216 to:
if(array_key_exists('type', $xml->attrs) && $xml->attrs['type'] ==
'subscribe') {
and line 219 to:
} elseif(array_key_exists('type', $xml->attrs) && $xml->attrs['type'] ==
'subscribed') {
Original issue reported on code.google.com by gastonfo...@gmail.com on 20 Aug 2008 at 11:52
Original issue reported on code.google.com by
gastonfo...@gmail.com
on 20 Aug 2008 at 11:52