Skip to content

Commit

Permalink
Merge branch 'hotfix-elastic' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
johnvanbreda committed Feb 5, 2019
2 parents fccd6ef + dae1f31 commit 094243c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/rest_api/controllers/services/rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -639,8 +639,7 @@ public function __call($name, $arguments) {
elseif ($this->method === 'POST') {
$this->request = $_POST;
}

$methodName = lcfirst(ucwords($name, '-')) . ucfirst(strtolower($this->method));
$methodName = lcfirst(str_replace('_', '', ucwords($name, '_'))) . ucfirst(strtolower($this->method));
$this->checkVersion($arguments);

$requestForId = NULL;
Expand Down

0 comments on commit 094243c

Please sign in to comment.