summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-03-19 15:49:37 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-03-19 15:49:37 -0400
commitd85c9660c5ce6f9749f3afc5c51342caf7713263 (patch)
tree752532ae0d0300d83e1e4d1ff4afa0d71e9f998a
parent6eb3cf7e76c53b05154bb2104e395922bd0eed4e (diff)
fix setstate
Same fix as in d7f1292c3134fd9464ca4005f48b9274be861c10
-rw-r--r--IkiWiki/Plugin/external.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/external.pm b/IkiWiki/Plugin/external.pm
index 43d2cbb28..4c2e5d2fe 100644
--- a/IkiWiki/Plugin/external.pm
+++ b/IkiWiki/Plugin/external.pm
@@ -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 ($) { #{{{