FIX Check if blank method passed (#10417)
This commit is contained in:
parent
c0e8a21acf
commit
dd210e0f84
|
@ -156,6 +156,9 @@ trait CustomMethods
|
|||
*/
|
||||
protected function getExtraMethodConfig($method)
|
||||
{
|
||||
if (empty($method)) {
|
||||
return null;
|
||||
}
|
||||
// Lazy define methods
|
||||
if (!isset(self::$extra_methods[static::class])) {
|
||||
$this->defineMethods();
|
||||
|
|
Loading…
Reference in New Issue