File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed
modules/registrars/synergywholesaledomains Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -2732,19 +2732,21 @@ function synergywholesaledomains_CheckAvailability(array $params)
2732
2732
$ status = WHMCS \Domains \DomainLookup \SearchResult::STATUS_REGISTERED ;
2733
2733
}
2734
2734
2735
- // Check if showing single contested domains as available is enabled
2736
- if ('register ' === $ type && (!isset ($ params ['auDirectShowSingleContestedAvailable ' ]) || $ params ['auDirectShowSingleContestedAvailable ' ] !== 'on ' )
2737
- && isset ($ domain ->requiresMembership ) && $ domain ->requiresMembership
2738
- && isset ($ domain ->requiresApplication ) && !$ domain ->requiresApplication
2739
- ) {
2740
- $ status = WHMCS \Domains \DomainLookup \SearchResult::STATUS_RESERVED ;
2741
- }
2735
+ if ('au ' === $ tld ) {
2736
+ // Check if showing single contested domains as available is enabled
2737
+ if ('register ' === $ type && (!isset ($ params ['auDirectShowSingleContestedAvailable ' ]) || $ params ['auDirectShowSingleContestedAvailable ' ] !== 'on ' )
2738
+ && isset ($ domain ->requiresMembership ) && $ domain ->requiresMembership
2739
+ && isset ($ domain ->requiresApplication ) && !$ domain ->requiresApplication
2740
+ ) {
2741
+ $ status = WHMCS \Domains \DomainLookup \SearchResult::STATUS_RESERVED ;
2742
+ }
2742
2743
2743
- // Check if showing multi contested domains as available is enabled
2744
- if ('register ' === $ type && (!isset ($ params ['auDirectShowMultiContestedAvailable ' ]) || $ params ['auDirectShowMultiContestedAvailable ' ] !== 'on ' )
2745
- && isset ($ domain ->requiresApplication ) && $ domain ->requiresApplication
2746
- ) {
2747
- $ status = WHMCS \Domains \DomainLookup \SearchResult::STATUS_RESERVED ;
2744
+ // Check if showing multi contested domains as available is enabled
2745
+ if ('register ' === $ type && (!isset ($ params ['auDirectShowMultiContestedAvailable ' ]) || $ params ['auDirectShowMultiContestedAvailable ' ] !== 'on ' )
2746
+ && isset ($ domain ->requiresApplication ) && $ domain ->requiresApplication
2747
+ ) {
2748
+ $ status = WHMCS \Domains \DomainLookup \SearchResult::STATUS_RESERVED ;
2749
+ }
2748
2750
}
2749
2751
2750
2752
if (
You can’t perform that action at this time.
0 commit comments