mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
some tiny changes...
git-svn-id: file:///svn/phpbb/trunk@5967 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -760,7 +760,7 @@ class jabber
|
||||
|
||||
function get_info_from_iq_key($packet = NULL)
|
||||
{
|
||||
return (is_array($packet)) ? $packet['iq']['#']['query'][0]['#']['key'][0]['#'] : false;
|
||||
return (is_array($packet) && isset($packet['iq']['#']['query'][0]['#']['key'][0]['#'])) ? $packet['iq']['#']['query'][0]['#']['key'][0]['#'] : false;
|
||||
}
|
||||
|
||||
function get_info_from_iq_error($packet = NULL)
|
||||
@@ -1020,6 +1020,8 @@ class make_xml extends jabber
|
||||
|
||||
return $text;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function _preg_grep_keys($pattern, $array)
|
||||
|
Reference in New Issue
Block a user