[openSRS-PHP-CVS] CVS: opensrs-php CHANGELOG,1.26,1.27 OPS.php,1.13,1.14 README,1.22,1.23
Brought to you by:
cviebrock
From: Colin V. <cvi...@us...> - 2005-02-25 21:17:09
|
Update of /cvsroot/opensrs-php/opensrs-php In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14214 Modified Files: CHANGELOG OPS.php README Log Message: hack for empty assoc arrays Index: CHANGELOG =================================================================== RCS file: /cvsroot/opensrs-php/opensrs-php/CHANGELOG,v retrieving revision 1.26 retrieving revision 1.27 diff -u -r1.26 -r1.27 --- CHANGELOG 11 Feb 2004 17:08:51 -0000 1.26 +++ CHANGELOG 25 Feb 2005 21:16:58 -0000 1.27 @@ -1,18 +1,24 @@ CHANGELOG --------- -Version 3.0.0 +Version x.x.x xx-xxx-xxxx - - PEAR-ify entire class + Version 2.8.0 -10-Feb-2004 (Jason Slaughter) +15-Dec-2004 - added support for XML over HTTPS POST method for OpenSRS + (Jason Slaughter) - new crypt_type "SSL," changed default to BLOWFISH from DES - - minor fix to ops.dtd + (Jason Slaughter) + - minor fix to ops.dtd (Jason Slaughter) + + +Version 2.7.3 +15-Aug-2003 - Updated README to reflect HRS functionality - exposed HRS_port in the config file, since that port number - is different for each HRS customer (Jason Slaughter) + is different for each HRS customer (Jason Slaughter) Version 2.7.2 Index: OPS.php =================================================================== RCS file: /cvsroot/opensrs-php/opensrs-php/OPS.php,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- OPS.php 7 Dec 2004 20:22:20 -0000 1.13 +++ OPS.php 25 Feb 2005 21:16:58 -0000 1.14 @@ -486,13 +486,13 @@ $msg_type = $this->_MSGTYPE_STD; - if ($array['protocol']) { + if (!empty($array['protocol'])) { $array['protocol'] = strtoupper($array['protocol']); } - if ($array['action']) { + if (!empty($array['action'])) { $array['action'] = strtoupper($array['action']); } - if ($array['object']) { + if (!empty($array['object'])) { $array['object'] = strtoupper($array['object']); } @@ -573,6 +573,11 @@ continue; } + /* hack for an empty associative array */ + if (empty($k) && $v===NULL) { + continue; + } + $string .= $this->_OUTPUT_LF . $IND . '<item key="' . $k . '"'; if (gettype($v)=='object' && get_class($v)) { Index: README =================================================================== RCS file: /cvsroot/opensrs-php/opensrs-php/README,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- README 7 Dec 2004 20:22:20 -0000 1.22 +++ README 25 Feb 2005 21:16:58 -0000 1.23 @@ -233,6 +233,7 @@ and general help - Victor Magdic at Tucows Inc. <vm...@tu...> who wrote the original Perl API +- Jason Slaughter at Tucows for the SSL-method code - the rest of the folks at OpenSRS (Ross, Dan, Charles, Erol, et al) - easyDNS <www.easydns.com>, my previous employer which "funded" most of the client development |