-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SRS was not accepting empty attributes as an array. Updated the to xml conversion process to use an associated array instead. Moved GetBalance outside of domains/lookup to a more appropriate accounts namespace. Preserved existing lookupGetBalance function name for backwards compatability.
- Loading branch information
Colin Campbell
committed
Feb 25, 2016
1 parent
c0d370b
commit b85152c
Showing
4 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
<?php | ||
|
||
$callArray = array( | ||
'func' => 'lookupGetBalance', | ||
|
||
'func' => 'accountGetBalance', | ||
'data' => array(), | ||
); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
opensrs/domains/lookup/GetBalance.php → opensrs/account/GetBalance.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
namespace opensrs\domains\lookup; | ||
namespace opensrs\account; | ||
|
||
use opensrs\Base; | ||
|
||
|