Fix a notice about variable pass by reference
This commit is contained in:
parent
baa88412b9
commit
19b35565a2
@ -73,7 +73,8 @@ class IDF_Diff
|
||||
$current_file = $m[1];
|
||||
}
|
||||
if ($this->path_strip_level > 0) {
|
||||
$current_file = array_pop(explode('/', $current_file, $this->path_strip_level+1));
|
||||
$fileparts = explode('/', $current_file, $this->path_strip_level+1);
|
||||
$current_file = array_pop($fileparts);
|
||||
}
|
||||
$current_chunk = 0;
|
||||
$files[$current_file] = array();
|
||||
|
Loading…
Reference in New Issue
Block a user