diff options
Diffstat (limited to 'core/ViewDataTable/RequestConfig.php')
-rw-r--r-- | core/ViewDataTable/RequestConfig.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/ViewDataTable/RequestConfig.php b/core/ViewDataTable/RequestConfig.php index 2c6e364d1d..9be2476f78 100644 --- a/core/ViewDataTable/RequestConfig.php +++ b/core/ViewDataTable/RequestConfig.php @@ -316,6 +316,10 @@ class RequestConfig public function getApiModuleToRequest() { + if (strpos($this->apiMethodToRequestDataTable, '.') === false) { + return ''; + } + list($module, $method) = explode('.', $this->apiMethodToRequestDataTable); return $module; @@ -323,6 +327,10 @@ class RequestConfig public function getApiMethodToRequest() { + if (strpos($this->apiMethodToRequestDataTable, '.') === false) { + return ''; + } + list($module, $method) = explode('.', $this->apiMethodToRequestDataTable); return $method; |