summaryrefslogtreecommitdiff
path: root/includes/xmlrpc.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-10-22 15:14:46 +0000
committerDries Buytaert <dries@buytaert.net>2005-10-22 15:14:46 +0000
commitf6764cfbd8dcdedd05263711a41fcedb72dda2ab (patch)
tree88f659fea364fc50d3173da0c5a8bdbc28be8557 /includes/xmlrpc.inc
parent07ecb2abb0206484a77acbf5ba767af856d99520 (diff)
downloadbrdo-f6764cfbd8dcdedd05263711a41fcedb72dda2ab.tar.gz
brdo-f6764cfbd8dcdedd05263711a41fcedb72dda2ab.tar.bz2
- Patch #30930 by m3avrck/deekayen: cured PHP5 warnings.
Diffstat (limited to 'includes/xmlrpc.inc')
-rw-r--r--includes/xmlrpc.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/xmlrpc.inc b/includes/xmlrpc.inc
index 4ed533c6b..a31d53e11 100644
--- a/includes/xmlrpc.inc
+++ b/includes/xmlrpc.inc
@@ -232,11 +232,13 @@ function xmlrpc_message_tag_close($parser, $tag) {
if ($xmlrpc_message->array_structs_types[count($xmlrpc_message->array_structs_types)-1] == 'struct') {
// Add to struct
$xmlrpc_message->array_structs [count($xmlrpc_message->array_structs )-1][$xmlrpc_message->current_struct_name[count($xmlrpc_message->current_struct_name)-1]] = $value;
- } else {
+ }
+ else {
// Add to array
$xmlrpc_message->array_structs [count($xmlrpc_message->array_structs )-1][] = $value;
}
- } else {
+ }
+ else {
// Just add as a paramater
$xmlrpc_message->params[] = $value;
}