Index: trunk/core/kernel/application.php =================================================================== diff -u -r6428 -r6583 --- trunk/core/kernel/application.php (.../application.php) (revision 6428) +++ trunk/core/kernel/application.php (.../application.php) (revision 6583) @@ -71,6 +71,13 @@ var $ConfigCacheIds = array(); /** + * Template names, that will be used instead of regular templates + * + * @var Array + */ + var $ReplacementTemplates = Array (); + + /** * Reference to debugger * * @var Debugger @@ -1160,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();