summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2011-08-21 01:45:41 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-09-23 15:30:32 +0200
commit795971bc806776ad48de6f0135736cbaaefa5fcd (patch)
tree057c347f6cb1a24492dcf41e7d1940f19346db47 /web/lib/pkgfuncs.inc.php
parent04a0fd47482f513c24645eb3f8b88b07303f9ec4 (diff)
downloadaurweb-795971bc806776ad48de6f0135736cbaaefa5fcd.tar.xz
RPC: Coerce numeric values into integers
Coerce following fields into integers to ensure json_encode() serializes them as integers: * ID * CategoryID * NumVotes * OutOfDate * FirstSubmitted * LastModified This means that there will be a minor API break. There's no better way to do this properly, though. Fixes FS#25693. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/pkgfuncs.inc.php')
0 files changed, 0 insertions, 0 deletions