| @@ -47,9 +47,12 @@ | ||
| 47 | 47 | * put your comment there... |
| 48 | 48 | * |
| 49 | 49 | */ |
| 50 | 50 | protected function getStateAction() { |
| 51 | - $this->response = $this->model->getStateStruct($_REQUEST['component']); | |
| 51 | + # Get component product types | |
| 52 | + $licenseTypes = $this->model->getExtensionProductTypes($_REQUEST['component']); | |
| 53 | + # Return license state back | |
| 54 | + $this->response = $this->model->getStateStruct($licenseTypes); | |
| 52 | 55 | } |
| 53 | 56 | |
| 54 | 57 | /** |
| 55 | 58 | * put your comment there... |