Skip to content

Commit

Permalink
Fixed bug in XML-RPC search.
Browse files Browse the repository at this point in the history
The score was randomly transfered as string or as integer.
This way it will always be transfered as an integer.
  • Loading branch information
timroes authored and splitbrain committed Dec 10, 2011
1 parent 77b9cb8 commit 97a000f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exe/xmlrpc.php
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ function search($query){

$pages[] = array(
'id' => $id,
'score' => $score,
'score' => intval($score),
'rev' => filemtime($file),
'mtime' => filemtime($file),
'size' => filesize($file),
Expand Down

0 comments on commit 97a000f

Please sign in to comment.