Revision d5b45feb
Added by Ermal LUÇI about 14 years ago
etc/inc/xmlrpc.inc | ||
---|---|---|
129 | 129 |
array_shift($params); |
130 | 130 |
unset($params['xmlrpcauth']); |
131 | 131 |
return true; |
132 |
} else if (authenticate_user("admin", $params['xmlrpcauth'])) { |
|
132 |
} else if (!empty($params['xmlrpcauth']) && authenticate_user("admin", $params['xmlrpcauth'])) {
|
|
133 | 133 |
array_shift($params); |
134 | 134 |
unset($params['xmlrpcauth']); |
135 | 135 |
return true; |
Also available in: Unified diff
Test for value present before using.