Skip to content

Commit 683252b

Browse files
authored
Wronge scope for store
The scope for a store is not 'store' but 'stores'. If you're going to use the contact form for ticket creation, you won't receive any tickets, because 'contacts/email/recipient_email' and 'zendesk/hidden/contact_email_old' are created with scope 'store' instead of 'stores'.
1 parent 2c482d3 commit 683252b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/code/community/Zendesk/Zendesk/Model/Observer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function saveConfig(Varien_Event_Observer $observer)
6666
}
6767

6868
if($storeCode) {
69-
$scope = 'store';
69+
$scope = 'stores';
7070
$store = Mage::getModel('core/store')->load($storeCode);
7171
$scopeId = $store->getId();
7272
}

0 commit comments

Comments
 (0)