mcramer
2012-09-12 f601d97deceb2e33b00f19ba26b52a837e9eb269
Bugfix: Domain module check can only be applied if tab is "domain"

1 files modified
2 ■■■■■ changed files
interface/web/sites/web_domain_edit.php 2 ●●●●● patch | view | raw | blame | history
interface/web/sites/web_domain_edit.php
@@ -459,6 +459,7 @@
        global $app, $conf;
        /* check if the domain module is used - and check if the selected domain can be used! */
        if($app->tform->getCurrentTab() == 'domain') {
        $app->uses('ini_parser,getconf');
        $settings = $app->getconf->get_global_config('domains');
        if ($settings['use_domain_module'] == 'y') {
@@ -476,6 +477,7 @@
                $this->dataRecord['domain'] = $domain_check['domain'];
            }
        }
        }
        // Set a few fixed values
        $this->dataRecord["parent_domain_id"] = 0;