33
0
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:
Richard Fath 2019-10-19 12:50:41 +02:00 committed by GitHub
parent 0a1792da58
commit 380831c017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))