Fixing issue 43
This commit is contained in:
parent
0bc03907b6
commit
394dbd57a5
@ -248,7 +248,7 @@ class IDF_Scm_Mercurial extends IDF_Scm
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if ($folder) {
|
if ($folder) {
|
||||||
preg_match('|^'.$folder.'[/]?([^/]+)?$|', $file,$match);
|
preg_match('|^'.$folder.'[/]([^/]+)?$|', $file,$match);
|
||||||
if (count($match) > 1) {
|
if (count($match) > 1) {
|
||||||
$file = $match[1];
|
$file = $match[1];
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user