- Issue created by @pixelwhip
- Merge request !11Issue #3494115: doAddOrDel() throws an exception if the getPropertyMethod doesn't find a method β (Open) created by pixelwhip
In this block ....
if ($method = $this->getPropertyMethod($action, $name)) {
$value = call_user_func_array([$this, $method], $args);
}
if ($value) {
// Allow declared methods to do a pass-through, and/or process data later.
$values[] = $value;
}
if $method doesn't evaluate to true $value never gets set which will then lead to the following warning...
warning: undefined variable $value in drupal\apitools\responseobject->doaddordel() line 140
Active
1.0
Code