tbrehm
2012-10-30 f3e6c510cdfee3ef9c6bee0a7e2e35c9c0be0fe4
interface/web/dns/dns_soa_del.php
@@ -56,7 +56,7 @@
      if($app->tform->checkPerm($this->id,'d') == false) $app->error($app->lng('error_no_delete_permission'));
      
      // Delete all records that belog to this zone.
      $records = $app->db->queryAllRecords("SELECT id FROM dns_rr WHERE zone = '".intval($this->id)."'");
      $records = $app->db->queryAllRecords("SELECT id FROM dns_rr WHERE zone = '".$app->functions->intval($this->id)."'");
      foreach($records as $rec) {
         $app->db->datalogDelete('dns_rr','id',$rec['id']);
      }