aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-09 18:14:46 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-09-09 18:14:46 +0200
commit740b76159edede54d04100b3168e43975c34b5e0 (patch)
treea4788ec709eb5c61940d17a20d5b2b484e9f8a21 /lib
parent398823dc33e19608b7561f641a0156a8d1ffdca1 (diff)
W3C Validator (HTML 5 + XHTML 1.1 + CSS level 3)
Diffstat (limited to 'lib')
-rw-r--r--lib/FPanel/Login.pm2
-rw-r--r--lib/Fripost/Schema/List.pm2
2 files changed, 1 insertions, 3 deletions
diff --git a/lib/FPanel/Login.pm b/lib/FPanel/Login.pm
index 3a44768..ab7bf36 100644
--- a/lib/FPanel/Login.pm
+++ b/lib/FPanel/Login.pm
@@ -203,7 +203,7 @@ sub error_rm : ErrorRunmode {
$mesg = 'Forbidden'
}
elsif ($error eq '404' ) {
- $mesg = 'Not found'
+ $mesg = 'Not Found'
}
$template->param( code => $error );
$template->param( message => encode_entities ($mesg, "‘‘") );
diff --git a/lib/Fripost/Schema/List.pm b/lib/Fripost/Schema/List.pm
index f3ce4b8..ad0902d 100644
--- a/lib/Fripost/Schema/List.pm
+++ b/lib/Fripost/Schema/List.pm
@@ -163,8 +163,6 @@ sub _is_valid {
must_attrs( $l, qw/list isactive/ );
email_valid( $l->{list}, -exact => 1 );
- say STDERR $l->{transport};
-
die "Invalid transport: ‘".$l->{transport}."‘\n"
if defined $l->{transport} and
$l->{transport} !~ /^(schleuder|mailman)$/;