]> sipb.mit.edu Git - ikiwiki.git/commitdiff
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)
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.


No differences found