13
0

Prevent endless recursion on Evoral::Event<>

This commit is contained in:
Robin Gareus 2016-12-05 23:49:05 +01:00
parent ed5a46d214
commit a2166a28de

View File

@ -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);