FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 742c5e86 authored by Dean Rasheed's avatar Dean Rasheed
Browse files

Fix the PHP client code that passes boolean parameters back to the

server. By default PHP converts true to the string '1', but we need
it to be the string 'true'.

Also the PHP ternary operator is completely broken, so the old code
would not have worked correctly for DateTime parameters. Replace the
nested ternary operators with a sequence of 'if's.

Boolean parameter problem reported by Chris Wilkinson.

--
Imported using git-svn from
https://dev.csi.cam.ac.uk/svn/lookup/trunk@59
parent 20d52dbb
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment