Commit 0d4dbe89 authored by Leigh Stoller's avatar Leigh Stoller

Another fix to signupURL.

parent c0601827
......@@ -103,11 +103,11 @@ sub EmailTag($)
$self->isCloud() ? "cloudlab.us" : "@THISHOMEBASE@");
}
sub SignupURL($)
sub SignupURL($$)
{
my ($self) = @_;
my ($self, $project) = @_;
my $wwwbase = $self->wwwBase();
my $pid = $self->pid();
my $pid = $project->pid();
return ($self->isAPT() || $self->isCloud() ?
"${wwwbase}/signup.php?pid=$pid" :
......
......@@ -161,7 +161,7 @@ sub ApprovalEmailAddress($) { return $_[0]->Brand()->ApprovalEmailAddress(); }
sub OpsEmailAddress($) { return $_[0]->Brand()->OpsEmailAddress(); }
sub EmailTag($) { return $_[0]->Brand()->EmailTag(); }
sub wwwBase($) { return $_[0]->Brand()->wwwBase(); }
sub SignupURL($) { return $_[0]->Brand()->SignupURL(); }
sub SignupURL($) { return $_[0]->Brand()->SignupURL($_[0]); }
# So we can localize MAILTAG variable.
sub SendEmail($$$$$)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment