fix cant use method return value
This commit is contained in:
parent
0729dfd378
commit
92cda2a75c
@ -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 New Issue
Block a user