We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 21d362d + 63e3d50 commit e7aac02Copy full SHA for e7aac02
code/controllers/ApiController.php
@@ -83,7 +83,7 @@ public function productAction()
83
if ($id) {
84
$id = $this->getIntParam('id');
85
if (Mage::helper('clerk')->isProductIdValid($id)) {
86
- $data = Mage::getModel('clerk/product')->load($id)->getInfo();
+ $response = Mage::getModel('clerk/product')->load($id)->getInfo();
87
} else {
88
$response = [
89
'error' => [
0 commit comments