23 |
|
|
24 |
$sth->execute( $value ); |
$sth->execute( $value ); |
25 |
|
|
26 |
die "can't find user $col = $value" if $sth->rows == 0; |
die qq|<error>Can't find user $col = $value</error>| if $sth->rows == 0; |
27 |
|
|
28 |
my ( $name, $seat, $email, $token, $confirmed, $canceled ) = $sth->fetchrow_array; |
my ( $name, $seat, $email, $token, $confirmed, $canceled ) = $sth->fetchrow_array; |
29 |
|
|
46 |
|
|
47 |
} elsif ( $confirmed ) { |
} elsif ( $confirmed ) { |
48 |
|
|
49 |
my $url = $self->url_for( 'Confirmation/cancel_as_markup?token=' . $token ); |
my $url = $self->url_for( 'Confirmation/cancel_as_markup?token=', $token ); |
50 |
|
|
51 |
my $html = |
my $html = |
52 |
qq| |
qq| |
78 |
|
|
79 |
} else { # not verified |
} else { # not verified |
80 |
|
|
81 |
my $url = $self->url_for( 'Confirmation/verify_as_markup?token=' . $token ); |
my $url = $self->url_for( 'Confirmation/verify_as_markup?token=', $token ); |
82 |
|
|
83 |
$self->send( $self->email, |
$self->send( $self->email, |
84 |
'Confirm your reservation for lecture', <<__EMAIL__ |
'Confirm your reservation for lecture', <<__EMAIL__ |