bernd commited on 2009-05-05 07:27:44
Zeige 1 geänderte Dateien mit 2 Einfügungen und 1 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1362 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -147,7 +147,8 @@ function get_domain_records($dom) |
147 | 147 |
function get_domain_auto_records($domainname) |
148 | 148 |
{ |
149 | 149 |
$domainname = mysql_real_escape_string($domainname); |
150 |
- $result = db_query("SELECT hostname, domain, CONCAT_WS('.', hostname, domain) AS fqdn, type, ip, spec, data, ttl FROM dns.v_autogenerated_records WHERE domain='{$domainname}'"); |
|
150 |
+ #$result = db_query("SELECT hostname, domain, CONCAT_WS('.', hostname, domain) AS fqdn, type, ip, spec, data, ttl FROM dns.v_autogenerated_records WHERE domain='{$domainname}'"); |
|
151 |
+ $result = db_query("SELECT hostname, domain, CONCAT_WS('.', hostname, domain) AS fqdn, type, ip, spec, data, ttl FROM dns.tmp_autorecords WHERE domain='{$domainname}'"); |
|
151 | 152 |
$data = array(); |
152 | 153 |
while ($entry = mysql_fetch_assoc($result)) { |
153 | 154 |
array_push($data, $entry); |
154 | 155 |