Fix a call to DateTime::clone() that I missed the other day
authordjfiander <djfiander@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Jul 2009 00:32:27 +0000 (00:32 +0000)
committerdjfiander <djfiander@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 8 Jul 2009 00:32:27 +0000 (00:32 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13518 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Utils/MFHD/Date.pm

index 7b19d5c..8d67b70 100644 (file)
@@ -274,7 +274,7 @@ sub subsequent_week {
 
        if ($week eq '00') {
            # Every week
-           $candidate = DateTime->clone($dt);
+           $candidate = $dt->clone;
 
 #          printf("# subsequent_week: DateTime->clone() failed\n")
 #            if !defined($candidate);