Skip to content

Commit d44d6ab

Browse files
committed
Fix typo related to environment variable XMLAPI_USE_SSL
github#2 - [Bugfix]: typo with environment variable XMLAPI_USE_SSL. it was incorrectly USER (not USE) within the defined() check.
1 parent 93cb441 commit d44d6ab

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

CHANGELOG.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
CHANGELOG.txt for xmlapi.php
22

3+
1.0.12:
4+
- github#2 - [Bugfix]: typo related to environment variable XMLAPI_USE_SSL
5+
36
1.0.11:
47
- [Feature]: Remove value requirement for park()'s 'topdomain' argument
58

xmlapi.php

+6-3
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,14 @@
2929
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3030
* POSSIBILITY OF SUCH DAMAGE.
3131
*
32-
* Version: 1.0.11
33-
* Last updated: 29 June 2011
32+
* Version: 1.0.12
33+
* Last updated: 23 July 2011
3434
*
3535
* Changes
3636
*
37+
* 1.0.12:
38+
* github#2 - [Bugfix]: typo related to environment variable XMLAPI_USE_SSL
39+
*
3740
* 1.0.11:
3841
* [Feature]: Remove value requirement for park()'s 'topdomain' argument
3942
* (Case 51116)
@@ -235,7 +238,7 @@ public function __construct($host = null, $user = null, $password = null ) {
235238

236239

237240
// disabling SSL is probably a bad idea.. just saying.
238-
if ( defined('XMLAPI_USER_SSL' ) && (XMLAPI_USE_SSL == '0' ) ) {
241+
if ( defined('XMLAPI_USE_SSL' ) && (XMLAPI_USE_SSL == '0' ) ) {
239242
$this->protocol = "http";
240243
}
241244

0 commit comments

Comments
 (0)