]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/calendar.pm
Allow add_depends to take an arrayref
[ikiwiki.git] / IkiWiki / Plugin / calendar.pm
index c25893f726ca96870bdb34389b9ab736c3dee745..ce0719404888a0bb43a59b99912a6cb2aad278dc 100644 (file)
@@ -212,7 +212,7 @@ EOF
        add_depends($params{page}, $params{pages});
        # Explicitly add all currently linked pages as dependencies, so
        # that if they are removed, the calendar will be sure to be updated.
-       add_depends($params{page}, join(" or ", @list));
+       add_depends($params{page}, \@list);
 
        return $calendar;
 }