Skip to content
Permalink
Browse files

Merge pull request #628 from zimur/fix-callMethodSafe

Fix callMethodSafe
  • Loading branch information...
sergejey committed Sep 22, 2019
2 parents 5595398 + 556cc69 commit e050f15b5f078460fa57db9326b4d1eedca8fcea
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/objects/objects.class.php
@@ -511,7 +511,7 @@ function callMethodSafe($name, $params = 0)
$call_stack[] = $current_call;
if (!is_array($params)) {
$params = array();
$params = array($params);
}
$params['m_c_s'] = $call_stack;
$result = callAPI('/api/method/' . urlencode($this->object_title . '.' . $name), 'GET', $params);

0 comments on commit e050f15

Please sign in to comment.
You can’t perform that action at this time.