diff options
author | Tim Roes <mail@timroes.de> | 2011-12-01 22:33:16 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2011-12-10 17:48:03 +0100 |
commit | 97a000f0551735b35606d94d59abc4ff440783a5 (patch) | |
tree | 0dd2b939206ca6cb92ea61492aa2225e5db874e8 /lib | |
parent | 77b9cb8455942e8998e88f6977e3486959ed1b1a (diff) | |
download | rpg-97a000f0551735b35606d94d59abc4ff440783a5.tar.gz rpg-97a000f0551735b35606d94d59abc4ff440783a5.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')
-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 e5e3298ae..95775188f 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), |