Fixed bug in XML-RPC search.

The score was randomly transfered as string or as integer.
This way it will always be transfered as an integer.
This commit is contained in:
Tim Roes 2011-12-01 22:33:16 +01:00 committed by Andreas Gohr
parent 77b9cb8455
commit 97a000f055
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ class dokuwiki_xmlrpc_server extends IXR_IntrospectionServer {
$pages[] = array(
'id' => $id,
'score' => $score,
'score' => intval($score),
'rev' => filemtime($file),
'mtime' => filemtime($file),
'size' => filesize($file),