Skip to content
Snippets Groups Projects
Commit 699aaade authored by Till Brehm's avatar Till Brehm
Browse files

Fixes #6533

parent 25618551
No related branches found
No related tags found
No related merge requests found
......@@ -145,13 +145,9 @@ class tools_sites {
}
/* TODO: rewrite SQL */
function getDomainModuleDomains($not_used_in_table = null, $selected_domain = '') {
function getDomainModuleDomains($not_used_in_table = null, $selected_domain = null) {
global $app;
// Fix a null value passed in by the create new forms, which lack an id.
if ($selected_domain == null) {
$selected_domain = '';
}
$sql = "SELECT domain_id, domain FROM domain WHERE";
if ($not_used_in_table) {
if (strpos($not_used_in_table, 'dns') !== false) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment