ftimme
2013-06-08 067ab540a93134787a6e2b81838324dce55a676e
- Fixed FS#2871 - Checkbox Active missed in 3.0.5.2 in DNS SRV records.
1 files modified
16 ■■■■ changed files
interface/web/dns/dns_srv_edit.php 16 ●●●● patch | view | raw | blame | history
interface/web/dns/dns_srv_edit.php
@@ -77,18 +77,10 @@
        // Split the 3 parts of the SRV Record apart
        $split = explode(' ', $this->dataRecord['data']);
        // Weight
        $this->dataRecord['weight'] = $split[0];
        // Port
        $this->dataRecord['port'] = $split[1];
        // Target
        $this->dataRecord['target'] = $split[2];
        // Bind the new datarecord to the template
        $app->tpl->setVar($this->dataRecord);
        $app->tpl->setVar('weight', $split[0]);
        $app->tpl->setVar('port', $split[1]);
        $app->tpl->setVar('target', $split[2]);
        parent::onShowEnd();
    }