]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
fix setstate
authorJoey Hess <joey@kodama.kitenet.net>
Wed, 19 Mar 2008 19:49:37 +0000 (15:49 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Wed, 19 Mar 2008 19:49:37 +0000 (15:49 -0400)
IkiWiki/Plugin/external.pm

index 43d2cbb28451701d0661f05114d28eec1ca37613..4c2e5d2feb28ce5d842dcf75dab275a3e7855493 100644 (file)
@@ -150,8 +150,9 @@ sub setstate ($$$$;@) { #{{{
        my $page=shift;
        my $id=shift;
        my $key=shift;
+       my $value=shift;
 
-       return $IkiWiki::pagestate{$page}{$id}{$key}=@_;
+       return $IkiWiki::pagestate{$page}{$id}{$key}=$value;
 } #}}}
 
 sub getargv ($) { #{{{