- Posts: 640
- Thank you received: 16
Forbidden message in Actions column persists
- PeterChain
-
Topic Author
- Offline
Less
More
13 years 3 months ago - 13 years 3 months ago #108644
by PeterChain
Forbidden message in Actions column persists was created by PeterChain
Last edit: 13 years 3 months ago by PeterChain.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #108660
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Forbidden message in Actions column persists
Hi,
I was expected it was a problem with the token validation passed in the url. It wasn't.
Please edit the file "administrator/com_hikamarket/classes/product.php" and replace:
By
And
By
Regards,
I was expected it was a problem with the token validation passed in the url. It wasn't.
Please edit the file "administrator/com_hikamarket/classes/product.php" and replace:
Code:
protected $toggle = array('product_published' => 'product_id');
Code:
protected $toggle = array('product_published' => 'product_id');
protected $toggleAcl = array('product_published' => 'product_edit_published');
Code:
if(!$app->isAdmin() && ((int)$value == 0 || empty($this->toggle[$task]) || !hikamarket::acl('product_edit_'.$task) || !hikamarket::isVendorProduct((int)$value) ))
Code:
if(!$app->isAdmin() && ((int)$value == 0 || empty($this->toggle[$task]) || ( empty($this->toggleAcl[$task]) && !hikamarket::acl('product_edit_'.$task) ) || ( !empty($this->toggleAcl[$task]) && !hikamarket::acl($this->toggleAcl[$task]) ) || !hikamarket::isVendorProduct((int)$value) ))
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: PeterChain
Please Log in or Create an account to join the conversation.
- PeterChain
-
Topic Author
- Offline
Less
More
- Posts: 640
- Thank you received: 16
13 years 3 months ago #108694
by PeterChain
Replied by PeterChain on topic Forbidden message in Actions column persists
WORKED!
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.178 seconds