bug fixed 'weeklength', not showing in subscription edit screen
authorMason James <mtj@liblime.com>
Tue, 13 Nov 2007 17:59:10 +0000 (11:59 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Tue, 13 Nov 2007 18:46:47 +0000 (12:46 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
serials/subscription-add.pl

index 27db620..f9e5e46 100755 (executable)
@@ -124,7 +124,7 @@ if ($op eq 'mod'||$op eq 'dup') {
         $sublength = $subs->{numberlength};
         $sub_on = $subscription_types[0];
     } elsif ($subs->{weeklength}>0){
-        $sublength = $weeklength;
+        $sublength = $subs->{weeklength};
         $sub_on = $subscription_types[1];
     } else {
         $sublength = $subs->{monthlength};