Skip to content

Commit a7cc928

Browse files
committed
fix issues
1 parent e93bb38 commit a7cc928

File tree

1 file changed

+2
-2
lines changed
  • administrator/components/com_patchtester/PatchTester/Model

1 file changed

+2
-2
lines changed

administrator/components/com_patchtester/PatchTester/Model/PullModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ protected function parseFileList($files)
9696

9797
// Sometimes the repo filename is not the production file name
9898
$prodfilename = $file->filename;
99-
$filePath = explode('/', $repofilename);
99+
$filePath = explode('/', $prodfilename);
100100

101101
// Remove the `src` here to match the CMS paths if needed
102102
if ($filePath[0] === 'src')
103103
{
104-
$prodfilename = str_replace('src/', '', $file->filename);
104+
$prodfilename = str_replace('src/', '', $prodfilename);
105105
}
106106

107107
$parsedFiles[] = (object) array(

0 commit comments

Comments
 (0)