Wrong reference to Author ID in Store Module

In the coding for the store module, the Author ID field is mistakenly named 'ResponsibleID'. This piece of code seems to have been copied from the Events module which is the only module in Dolphin with the Author ID field called 'ResponsibleID'. See fix below :

 

In modules\boonex\store\classes\BxStoreModule.php :

Inside the isAllowedCreatorCommentsDeleteAndEdit function, find :

if (!$GLOBALS['logged']['member'] || $aEvent['ResponsibleID'] != $this->_iProfileId)



Replace with :

if (!$GLOBALS['logged']['member'] || $aEvent['author_id'] != $this->_iProfileId)

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 3 Feb 2016

Thank you for the report:

https://github.com/boonex/dolphin.pro/issues/295

Rules → http://www.boonex.com/terms
Quote · 4 Feb 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.