summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-01-05 01:26:09 -0500
committerJoey Hess <joey@kodama.kitenet.net>2008-01-05 01:26:09 -0500
commit76e941a480bd0a3216a840d578a495f37643fe11 (patch)
tree2f2fa8dd1b2cd983f39ab223b6492df5de1e8433 /IkiWiki/Plugin
parent41234a3f0f03b66ff2f446c2bebed6646481f017 (diff)
* aggregate: Only save state if it was already loaded.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/aggregate.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/aggregate.pm b/IkiWiki/Plugin/aggregate.pm
index 503f23ae4..21c83e34a 100644
--- a/IkiWiki/Plugin/aggregate.pm
+++ b/IkiWiki/Plugin/aggregate.pm
@@ -165,6 +165,7 @@ sub loadstate () { #{{{
} #}}}
sub savestate () { #{{{
+ return unless $state_loaded;
eval q{use HTML::Entities};
error($@) if $@;
my $newfile="$config{wikistatedir}/aggregate.new";