Prevent endless recursion on Evoral::Event<>
This commit is contained in:
parent
ed5a46d214
commit
a2166a28de
@ -552,6 +552,7 @@ function traverse_parent ($ns, &$inherited) {
|
|||||||
asort ($parents);
|
asort ($parents);
|
||||||
foreach ($parents as $p) {
|
foreach ($parents as $p) {
|
||||||
if (!empty ($rv)) { $rv .= ', '; }
|
if (!empty ($rv)) { $rv .= ', '; }
|
||||||
|
if ($p == $ns) { continue; }
|
||||||
$rv .= typelink ($p);
|
$rv .= typelink ($p);
|
||||||
$inherited[$p] = $classlist[$p];
|
$inherited[$p] = $classlist[$p];
|
||||||
traverse_parent ($p, $inherited);
|
traverse_parent ($p, $inherited);
|
||||||
|
Loading…
Reference in New Issue
Block a user