]> git.donarmstrong.com Git - ikiwiki_plugins.git/commitdiff
fix syntax errors
authorDon Armstrong <don@donarmstrong.com>
Thu, 22 Mar 2012 20:08:30 +0000 (13:08 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 22 Mar 2012 20:08:30 +0000 (13:08 -0700)
sweavealike.pm

index 7c92884a6be275665729377459afe303974f150b..f802fa5957f78b476780ddd98ea51886eda7d8af 100644 (file)
@@ -176,7 +176,7 @@ sub preprocess {
     }
     if (not exists $param{results} or
        (defined $param{results} and
-        $param{results} !~ /^(hide|false)$/i;)) {
+        $param{results} !~ /^(hide|false)$/i)) {
        $output .= $code_result;
     }
     if (exists $param{echo} or
@@ -204,7 +204,6 @@ sub savestate {
     # make sure we never try to save an R process
     for my $page (keys %pagestate) {
        next unless exists $pagestate{$page}{$id};
-       next unless ;
        if (exists $pagestate{$page}{$id}{R}) {
            if (defined $pagestate{$page}{$id}{R}
                and $pagestate{$page}{$id}{R}->is_started()) {