This commit is contained in:
Marco Antonio Nina Mena
2017-10-19 11:39:00 -04:00
parent 5fe388fc90
commit 11498fca10
2 changed files with 15 additions and 13 deletions

View File

@@ -1375,7 +1375,7 @@ class PMPluginRegistry
$classFile = $baseSrcPluginPath . $apiPath . 'Ext' . $className . '.php';
if (file_exists($classFile)) {
if (empty($this->_restExtendServices[$namespace])) {
$this->_restExtendServices[$namespace] = new \stdClass();
$this->_restExtendServices[$namespace] = new stdClass();
}
$this->_restExtendServices[$namespace]->{$className} = [
'filePath' => $classFile,