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

index 16713a0092c64e57b0447872612caf093acd2c07..7c92884a6be275665729377459afe303974f150b 100644 (file)
@@ -124,7 +124,7 @@ sub preprocess {
        error("There wasn't any R code supplied");
     }
 
-    my $image_loc
+    my $image_loc = '';
     if (exists $param{fig}) {
        $param{width} = '400' unless exists $param{width} and defined $param{width};
        $param{height} = '400' unless exists $param{height} and defined $param{height};