]> sipb.mit.edu Git - ikiwiki.git/commit
po: avoid crash when page is empty
authorJoey Hess <joey@gnu.kitenet.net>
Thu, 21 Jan 2010 20:23:25 +0000 (15:23 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Thu, 21 Jan 2010 20:33:20 +0000 (15:33 -0500)
commitee9ae0a3149f04e9373a0b7b1fece99f5cc78e9c
tree8f3165e8727430f7a2feb6e58603f691d71b2763
parent8bf2f5a31ae3569b0c1c5b139640f7e8356a90f4
po: avoid crash when page is empty

Note that there is an associated po4a warning when a page is empty:
  Use of uninitialized value $file in substitution (s///) at /usr/share/perl5/Locale/Po4a/Text.pm line 205.
I've filed a bug with po4a about that, but the important thing is fixing
the crash here.
IkiWiki/Plugin/po.pm
debian/changelog