diff options
author | Tim Roes <mail@timroes.de> | 2011-12-01 22:33:16 +0100 |
---|---|---|
committer | Tim Roes <mail@timroes.de> | 2011-12-01 22:33:16 +0100 |
commit | aafb4e36f7fdc95d371cffcf351c3611efd69945 (patch) | |
tree | 528d0515f2a369710959f1921c4be3bfce638c53 /lib/exe/xmlrpc.php | |
parent | f3046d2bbd96dc9a501975392e76d6ae539cdf05 (diff) | |
download | rpg-aafb4e36f7fdc95d371cffcf351c3611efd69945.tar.gz rpg-aafb4e36f7fdc95d371cffcf351c3611efd69945.tar.bz2 |
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.
Diffstat (limited to 'lib/exe/xmlrpc.php')
-rw-r--r-- | lib/exe/xmlrpc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/exe/xmlrpc.php b/lib/exe/xmlrpc.php index 910271461..61e6f1e95 100644 --- a/lib/exe/xmlrpc.php +++ b/lib/exe/xmlrpc.php @@ -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), |