-
- Downloads
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
Showing
- src/php/ibisclient/client/IbisClientConnection.php 17 additions, 10 deletionssrc/php/ibisclient/client/IbisClientConnection.php
- src/php/test/UnitTests.php 4 additions, 0 deletionssrc/php/test/UnitTests.php
- src/python/test/unittests.py 4 additions, 0 deletionssrc/python/test/unittests.py
- src/python3/test/unittests.py 4 additions, 0 deletionssrc/python3/test/unittests.py
Loading
Please register or sign in to comment