diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-09 20:58:24 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-11-09 20:58:24 +0000 |
commit | 54c90b2d41488657c583e657b16e363c9eb999fa (patch) | |
tree | bea8adcbe8ac51b966b41f4c2cceb622d06932e8 /IkiWiki/Plugin/img.pm | |
parent | c16fd3d71f88f7db37ed7e5e3c017ce6c21ddaef (diff) | |
download | ikiwiki-54c90b2d41488657c583e657b16e363c9eb999fa.tar ikiwiki-54c90b2d41488657c583e657b16e363c9eb999fa.tar.gz |
* Fix img plugin's handling of adding dependencies for images that do not
yet exist.
Diffstat (limited to 'IkiWiki/Plugin/img.pm')
-rw-r--r-- | IkiWiki/Plugin/img.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm index bde5a3e1a..20893f56c 100644 --- a/IkiWiki/Plugin/img.pm +++ b/IkiWiki/Plugin/img.pm @@ -34,8 +34,8 @@ sub preprocess (@) { #{{{ return ''; } + add_depends($params{page}, $image); my $file = bestlink($params{page}, $image) || return "[[img $image not found]]"; - add_depends($params{page}, $file); my $dir = IkiWiki::dirname($file); my $base = IkiWiki::basename($file); |