moglia
2010-05-13 2744b2334b38046dc7b13458bb075ed1de838e81
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 {