Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 5c47580

Browse files
committed
Merge branch 'hotfix/166'
Close #166
2 parents 49e04b1 + 770c151 commit 5c47580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BaseInputFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ protected function populate()
544544
*/
545545
public function hasUnknown()
546546
{
547-
return count($this->getUnknown()) > 0;
547+
return $this->getUnknown() ? true : false;
548548
}
549549

550550
/**

0 commit comments

Comments
 (0)