mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-01-10 17:24:39 +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);
|
||||
|
||||
// Get files from deleted_logs
|
||||
$deletedFiles = (file($delLogPath) ? file($delLogPath) : array());
|
||||
$deletedFiles = (file_exists($delLogPath) ? file($delLogPath) : array());
|
||||
$deletedFiles = array_map('trim', $deletedFiles);
|
||||
|
||||
if (file_exists($delLogPath))
|
||||
|
Loading…
Reference in New Issue
Block a user