We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2561855 commit 699aaadCopy full SHA for 699aaad
interface/lib/classes/tools_sites.inc.php
@@ -145,13 +145,9 @@ function convertClientName($name){
145
}
146
147
/* TODO: rewrite SQL */
148
- function getDomainModuleDomains($not_used_in_table = null, $selected_domain = '') {
+ function getDomainModuleDomains($not_used_in_table = null, $selected_domain = null) {
149
global $app;
150
151
- // Fix a null value passed in by the create new forms, which lack an id.
152
- if ($selected_domain == null) {
153
- $selected_domain = '';
154
- }
155
$sql = "SELECT domain_id, domain FROM domain WHERE";
156
if ($not_used_in_table) {
157
if (strpos($not_used_in_table, 'dns') !== false) {
0 commit comments