Index: branches/unlabeled/unlabeled-1.157.2/core/kernel/application.php =================================================================== diff -u -r6490 -r6514 --- branches/unlabeled/unlabeled-1.157.2/core/kernel/application.php (.../application.php) (revision 6490) +++ branches/unlabeled/unlabeled-1.157.2/core/kernel/application.php (.../application.php) (revision 6514) @@ -69,14 +69,14 @@ * @access private */ var $ConfigCacheIds = array(); - + /** * Template names, that will be used instead of regular templates * * @var Array */ var $ReplacementTemplates = Array (); - + /** * Reference to debugger * @@ -1167,7 +1167,7 @@ */ function getPassInfo($pass = 'all') { - $pass = trim(str_replace('all', trim($this->GetVar('passed'), ','), $pass), ','); + $pass = trim(preg_replace('/(?<=,|\\A)all(?=,|\\z)/', trim($this->GetVar('passed'), ','), trim($pass, ',')), ','); if (!$pass) { return Array();