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 03d007b commit f02f15eCopy full SHA for f02f15e
interface/lib/classes/tools_sites.inc.php
@@ -148,6 +148,10 @@ function convertClientName($name){
148
function getDomainModuleDomains($not_used_in_table = null, $selected_domain = '') {
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