fantu
2008-12-20 4a5f926a03a92bec7c1ee0850b7046c51bb9033d
interface/lib/classes/validate_dns.inc.php
@@ -272,6 +272,10 @@
  $current_date = date("Ymd");
  if($serial_date >= $current_date){
    $count += 1;
    if ($count > 99) {
        $serial_date += 1;
        $count = 0;
    }
    $count = str_pad($count, 2, "0", STR_PAD_LEFT);
    $new_serial = $serial_date.$count;
  } else {