aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-02 18:20:17 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-02 18:20:17 -0400
commit3c022e2cd755508391cc866c11b146f0edf43762 (patch)
tree2ace0dcf1a18773a293ac3332064ff55d5946044
parent657bf7846d129b2ff0ab0d2264610c689d4ecd02 (diff)
downloadikiwiki-3c022e2cd755508391cc866c11b146f0edf43762.tar
ikiwiki-3c022e2cd755508391cc866c11b146f0edf43762.tar.gz
use yesno
-rw-r--r--IkiWiki/Plugin/table.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/table.pm b/IkiWiki/Plugin/table.pm
index 55d78a3e1..e782fc238 100644
--- a/IkiWiki/Plugin/table.pm
+++ b/IkiWiki/Plugin/table.pm
@@ -74,7 +74,7 @@ sub preprocess (@) { #{{{
}
my $header;
- if (lc($params{header}) eq "row" || lc($params{header}) eq "yes") {
+ if (lc($params{header}) eq "row" || IkiWiki::yesno($params{header})) {
$header=shift @data;
}
if (! @data) {