Lines 46-52
my $sub_length;
Link Here
|
46 |
|
46 |
|
47 |
# Permission needed if it is a modification : edit_subscription |
47 |
# Permission needed if it is a modification : edit_subscription |
48 |
# Permission needed otherwise (nothing or dup) : create_subscription |
48 |
# Permission needed otherwise (nothing or dup) : create_subscription |
49 |
my $permission = ($op eq "modify") ? "edit_subscription" : "create_subscription"; |
49 |
my $permission = |
|
|
50 |
( $op eq 'modify' || $op eq 'modsubscription' ) ? "edit_subscription" : "create_subscription"; |
50 |
|
51 |
|
51 |
my ($template, $loggedinuser, $cookie) |
52 |
my ($template, $loggedinuser, $cookie) |
52 |
= get_template_and_user({template_name => "serials/subscription-add.tt", |
53 |
= get_template_and_user({template_name => "serials/subscription-add.tt", |
53 |
- |
|
|