master
Joey Hess 2008-03-21 19:09:29 -04:00
parent 060183df67
commit 1c2f59239f
1 changed files with 2 additions and 2 deletions

View File

@ -38,10 +38,10 @@ sub preprocess (@) { #{{{
return "" if $params{page} ne $params{destpage}; return "" if $params{page} ne $params{destpage};
if (! exists $params{template} || ! length($params{template})) { if (! exists $params{template} || ! length($params{template})) {
return return "[[meta ".gettext("template not specified")."]]"; return "[[meta ".gettext("template not specified")."]]";
} }
if (! exists $params{match} || ! length($params{match})) { if (! exists $params{match} || ! length($params{match})) {
return return "[[meta ".gettext("match not specified")."]]"; return "[[meta ".gettext("match not specified")."]]";
} }
$pagestate{$params{page}}{edittemplate}{$params{match}}=$params{template}; $pagestate{$params{page}}{edittemplate}{$params{match}}=$params{template};