Skip to content

Commit 1047d14

Browse files
committed
Fix function default value, null fails the sub query
1 parent dce4199 commit 1047d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/tools_sites.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function convertClientName($name){
145145
}
146146

147147
/* TODO: rewrite SQL */
148-
function getDomainModuleDomains($not_used_in_table = null, $selected_domain = null) {
148+
function getDomainModuleDomains($not_used_in_table = null, $selected_domain = '') {
149149
global $app;
150150

151151
$sql = "SELECT domain_id, domain FROM domain WHERE";

0 commit comments

Comments
 (0)