fix cant use method return value
This commit is contained in:
parent
0729dfd378
commit
92cda2a75c
1 changed files with 2 additions and 1 deletions
|
|
@ -22,7 +22,8 @@ class NoRFCWarningsValidation extends RFCValidation
|
|||
return false;
|
||||
}
|
||||
|
||||
if (empty($this->getWarnings())) {
|
||||
$ret = $this->getWarnings();
|
||||
if (empty($ret)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue