vogelor
2010-06-02 7e3bd4da74e051d54a4790e6bc1c5b1d1bab58c2
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 {