summaryrefslogtreecommitdiff
path: root/.library
diff options
context:
space:
mode:
Diffstat (limited to '.library')
-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)