mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-01-25 16:18:26 +00:00
Fix PHP warning "failed to open stream..."
This commit is contained in:
parent
0a1792da58
commit
380831c017
@ -248,7 +248,7 @@ class PullModel extends AbstractModel
|
|||||||
File::delete($zipPath);
|
File::delete($zipPath);
|
||||||
|
|
||||||
// Get files from deleted_logs
|
// Get files from deleted_logs
|
||||||
$deletedFiles = (file($delLogPath) ? file($delLogPath) : array());
|
$deletedFiles = (file_exists($delLogPath) ? file($delLogPath) : array());
|
||||||
$deletedFiles = array_map('trim', $deletedFiles);
|
$deletedFiles = array_map('trim', $deletedFiles);
|
||||||
|
|
||||||
if (file_exists($delLogPath))
|
if (file_exists($delLogPath))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user