]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/po.pm
po: bring back a useful use of scalar
[git.ikiwiki.info.git] / IkiWiki / Plugin / po.pm
index 363720e1dfefc55230c6bda250256172ed58e8ca..230ecbb8ded8aea154dd66a81da1dd5da953f1ad 100644 (file)
@@ -266,7 +266,7 @@ sub pagetemplate (@) {
                $template->param(percenttranslated => percenttranslated($page));
        }
        if ($template->query(name => "istranslation")) {
-               $template->param(istranslation => istranslation($page));
+               $template->param(istranslation => scalar istranslation($page));
        }
        if ($template->query(name => "istranslatable")) {
                $template->param(istranslatable => istranslatable($page));