mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '4.3' into 4
This commit is contained in:
commit
ab5bbda88c
@ -279,6 +279,10 @@ trait CustomMethods
|
|||||||
$methods = $this->findMethodsFromExtension($extension);
|
$methods = $this->findMethodsFromExtension($extension);
|
||||||
if ($methods) {
|
if ($methods) {
|
||||||
foreach ($methods as $method) {
|
foreach ($methods as $method) {
|
||||||
|
if (!isset(self::$extra_methods[$class][$method])) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
$methodInfo = self::$extra_methods[$class][$method];
|
$methodInfo = self::$extra_methods[$class][$method];
|
||||||
|
|
||||||
if ($methodInfo['property'] === $property && $methodInfo['index'] === $index) {
|
if ($methodInfo['property'] === $property && $methodInfo['index'] === $index) {
|
||||||
|
Loading…
Reference in New Issue
Block a user