Merge branch 'cc-5709-airtime-analyzer' into saas
This commit is contained in:
commit
162995bb49
3 changed files with 9 additions and 3 deletions
|
@ -355,7 +355,13 @@ SQL;
|
|||
{
|
||||
$exists = false;
|
||||
try {
|
||||
$exists = file_exists($this->getFilePath());
|
||||
//Explicitly check filepath because if it's blank, getFilePath() can
|
||||
//still return a directory that exists.
|
||||
if (!$this->_file->getDbFilepath()) {
|
||||
$exists = false;
|
||||
} else {
|
||||
$exists = file_exists($this->getFilePath());
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue