Revision 56a8bbf3
Added by Ermal LUÇI over 14 years ago
etc/inc/xmlrpc.inc | ||
---|---|---|
119 | 119 |
array_shift($params); |
120 | 120 |
unset($params['xmlrpcauth']); |
121 | 121 |
return true; |
122 |
} else if (authenticate_user("admin", $params['xmlrpcauth'], $authcfg) || |
|
123 |
authenticate_user("admin", $params['xmlrpcauth'])) { |
|
122 |
} else if (!empty($params['xmlrpcauth']) && (authenticate_user("admin", $params['xmlrpcauth'], $authcfg) ||
|
|
123 |
authenticate_user("admin", $params['xmlrpcauth']))) {
|
|
124 | 124 |
array_shift($params); |
125 | 125 |
unset($params['xmlrpcauth']); |
126 | 126 |
return true; |
Also available in: Unified diff
Test for value present before using.