aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_jabber.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-05-26 15:04:27 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-05-26 15:04:27 +0000
commit9fca29eae3051730b72f6144e2683cd2fe7c8d0b (patch)
tree247a6d85513aecc010d34dec73e80d0996f4df05 /phpBB/includes/functions_jabber.php
parent8dc9fc089bf3a45bd5f23986d5c9f4992196834f (diff)
downloadforums-9fca29eae3051730b72f6144e2683cd2fe7c8d0b.tar
forums-9fca29eae3051730b72f6144e2683cd2fe7c8d0b.tar.gz
forums-9fca29eae3051730b72f6144e2683cd2fe7c8d0b.tar.bz2
forums-9fca29eae3051730b72f6144e2683cd2fe7c8d0b.tar.xz
forums-9fca29eae3051730b72f6144e2683cd2fe7c8d0b.zip
some tiny changes...
git-svn-id: file:///svn/phpbb/trunk@5967 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_jabber.php')
-rw-r--r--phpBB/includes/functions_jabber.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/functions_jabber.php b/phpBB/includes/functions_jabber.php
index 00d7a6c5ab..9fd0386511 100644
--- a/phpBB/includes/functions_jabber.php
+++ b/phpBB/includes/functions_jabber.php
@@ -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)