Index: branches/unlabeled/unlabeled-1.166.4/core/kernel/application.php =================================================================== diff -u -r7466 -r7474 --- branches/unlabeled/unlabeled-1.166.4/core/kernel/application.php (.../application.php) (revision 7466) +++ branches/unlabeled/unlabeled-1.166.4/core/kernel/application.php (.../application.php) (revision 7474) @@ -2168,9 +2168,9 @@ // 2. find what if parent is passed $passed = explode(',', $this->GetVar('passed')); - foreach ($prefixes as $current_prefix) { - if (in_array($current_prefix, $passed)) { - break; + foreach ($prefixes as $a_prefix) { + if (in_array($a_prefix, $passed)) { + return $a_prefix; } }