]> sipb.mit.edu Git - ikiwiki.git/commitdiff
* aggregate: Only save state if it was already loaded.
authorJoey Hess <joey@kodama.kitenet.net>
Sat, 5 Jan 2008 06:26:09 +0000 (01:26 -0500)
committerJoey Hess <joey@kodama.kitenet.net>
Sat, 5 Jan 2008 06:26:09 +0000 (01:26 -0500)
IkiWiki/Plugin/aggregate.pm
debian/changelog

index 503f23ae49e2206e30341fdc2c44c4f2333c3228..21c83e34a6f3fa6ddee43fc127e582ab037e7abb 100644 (file)
@@ -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";
index 6bb5f0076758a821c3fe1b77890c60a0900eef47..049b78cd39c10311dcfc36c8c4a96b7936f75e9f 100644 (file)
@@ -11,6 +11,7 @@ ikiwiki (2.18) UNRELEASED; urgency=low
     need to be able to use form values. To fix this dilemma, it's been changed
     to a decode_cgi_utf8, which is called on the cgi query object, before the
     form is set up, and decodes *all* cgi parameters.
+  * aggregate: Only save state if it was already loaded.
 
  -- Joey Hess <joeyh@debian.org>  Tue, 01 Jan 2008 18:46:59 -0500