po: prevent a slave page to depend on itself
It has never caused harm yet, but it might in the future. Signed-off-by: intrigeri <intrigeri@boum.org>master
parent
44bb872a97
commit
aef1b0f503
|
@ -496,7 +496,7 @@ sub pagetemplate (@) { #{{{
|
|||
elsif (istranslation($page)) {
|
||||
add_depends($page, $masterpage);
|
||||
foreach my $translation (values %{$translations{$masterpage}}) {
|
||||
add_depends($page, $translation);
|
||||
add_depends($page, $translation) unless $page eq $translation;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue