diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-06-30 23:32:08 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-06-30 23:32:08 -0400 |
commit | 49514f39f64aec9c361f252d07de8d81d38fac9f (patch) | |
tree | 5db389f35c781689dc78392e156ed6d5181c51d0 | |
parent | b01ee9b3b33daa8d305017aa914913f3dac20ce5 (diff) |
fix some messages
-rw-r--r-- | IkiWiki/Plugin/attachment.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm index 186f3ea21..6168ea589 100644 --- a/IkiWiki/Plugin/attachment.pm +++ b/IkiWiki/Plugin/attachment.pm @@ -102,7 +102,7 @@ sub match_maxsize ($$;@) { #{{{ my %params=@_; if (! exists $params{file}) { - return IkiWiki::FailReason->new("no tempfile specified"); + return IkiWiki::FailReason->new("no file specified"); } if (-s $params{file} > $maxsize) { @@ -122,7 +122,7 @@ sub match_minsize ($$;@) { #{{{ my %params=@_; if (! exists $params{file}) { - return IkiWiki::FailReason->new("no tempfile specified"); + return IkiWiki::FailReason->new("no file specified"); } if (-s $params{file} < $minsize) { |