projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c59ad6
)
po(_istranslation): fix unitialized value
author
intrigeri
<intrigeri@boum.org>
Thu, 15 Jan 2009 21:45:45 +0000
(22:45 +0100)
committer
intrigeri
<intrigeri@boum.org>
Thu, 15 Jan 2009 21:45:45 +0000
(22:45 +0100)
Signed-off-by: intrigeri <intrigeri@boum.org>
IkiWiki/Plugin/po.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/po.pm
b/IkiWiki/Plugin/po.pm
index a050d2b71ce789b33fcfc7b494e5fe1255b60e74..3a696fb65c76c89129b77b49e4d8f57d04592380 100644
(file)
--- a/
IkiWiki/Plugin/po.pm
+++ b/
IkiWiki/Plugin/po.pm
@@
-680,6
+680,7
@@
sub istranslatable ($) {
sub _istranslation ($) {
my $page=shift;
+ $page='' unless (defined $page && length $page);
my $hasleadingslash = ($page=~s#^/##);
my $file=$pagesources{$page};
return 0 unless (defined $file