Check $this->path is set before use, fixes #355
This commit is contained in:
parent
1023541907
commit
0bf7698cac
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class PhpMessDetector implements \PHPCI\Plugin
|
|||
}
|
||||
|
||||
$path = $this->phpci->buildPath . $this->path;
|
||||
if ($this->path{0} == '/') {
|
||||
if (!empty($this->path) && $this->path{0} == '/') {
|
||||
$path = $this->path;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue