Ignore:
Timestamp:
Jan 31, 2008, 9:11:25 PM (17 years ago)
Author:
george
Message:

Opraveno: Různé chyby ve skriptech.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • system/generators/dns.php

    r37 r39  
    208208fputs($File2, $Header);
    209209
    210 $Database->select('hosts','*','czfree_ip<>""');
    211 while($Row = $Database->fetch_array())
     210$DbResult = $Database->select('hosts','*','czfree_ip<>""');
     211while($Row = $DbResult->fetch_array())
    212212{
    213213  $Data = strtolower($Row['name']);
     
    221221
    222222$DbResult = $Database->query("SELECT network_dns_alias.* FROM  `network_dns_alias` JOIN  `hosts`  ON network_dns_alias.target LIKE hosts.name AND hosts.czfree_ip != ''");
    223 while($Alias = $Database->fetch_array())
     223while($Alias = $DbResult->fetch_array())
    224224{
    225225  $Data = $Alias['name'];
Note: See TracChangeset for help on using the changeset viewer.