summaryrefslogtreecommitdiff
path: root/.library/IkiWiki/Plugin
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@schwinge.name>2010-09-17 12:07:44 +0200
committerThomas Schwinge <thomas@schwinge.name>2010-09-17 12:07:44 +0200
commitb05e46a9cd5202419eada0454268c619c9167a1e (patch)
tree639e9a7a4256bb6a6a2cce68bb5719063f156c24 /.library/IkiWiki/Plugin
parent09ecb456139d7b1ca5addcdace260decea6acc36 (diff)
parent3a2cf01b8d9adcd2628dcf7af371264f6b9841bb (diff)
Merge branch 'getfield-fix-dependency'
Diffstat (limited to '.library/IkiWiki/Plugin')
-rw-r--r--.library/IkiWiki/Plugin/getfield.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/.library/IkiWiki/Plugin/getfield.pm b/.library/IkiWiki/Plugin/getfield.pm
index d6564eaf..ecdd4672 100644
--- a/.library/IkiWiki/Plugin/getfield.pm
+++ b/.library/IkiWiki/Plugin/getfield.pm
@@ -101,7 +101,7 @@ sub get_other_page_field_value ($$$) {
my $use_page = bestlink($page, $other_page);
# add a dependency for the page from which we get the value
- add_depends($page, $other_page);
+ add_depends($page, $use_page);
my $val = get_field_value($field, $use_page);
if ($val eq $field)