Try replacing line 587
$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16');
with
$icons16 = is_object($moduleInfo)?$moduleInfo->getInfo('icons16'):0;
$pathImageIcon = XOOPS_URL .'/'. $icons16;
$pathImageIcon = XOOPS_URL .'/'. $moduleInfo->getInfo('icons16');
$icons16 = is_object($moduleInfo)?$moduleInfo->getInfo('icons16'):0;
$pathImageIcon = XOOPS_URL .'/'. $icons16;
/*global $smartpermissions_handler;
include_once XOOPS_ROOT_PATH . '/modules/smartobject/class/smartobjectpermission.php';
$smartpermissions_handler = new SmartobjectPermissionHandler($smartpartner_partner_handler);
if($partnerObj->id() != 0){
$grantedGroups = $smartpermissions_handler->getGrantedGroups('full_view', $partnerObj->id());
}else{
$grantedGroups = $xoopsModuleConfig['default_full_view'];
}
$full_view_select = new XoopsFormSelectGroup(_CO_SPARTNER_FULL_PERM_READ, 'full_view', true, $grantedGroups, 5, true);
$full_view_select->setDescription(_CO_SPARTNER_FULL_PERM_READ_DSC);
$full_view_select->setHidden();
$sform->addElement($full_view_select);
if($partnerObj->id() != 0){
$partGrantedGroups = $smartpermissions_handler->getGrantedGroups('partial_view', $partnerObj->id());
}else{
$partGrantedGroups = $xoopsModuleConfig['default_part_view'];
}
$part_view_select = new XoopsFormSelectGroup(_CO_SPARTNER_PART_PERM_READ, 'partial_view', true, $partGrantedGroups, 5, true);
$part_view_select->setDescription(_CO_SPARTNER_PART_PERM_READ_DSC);
$part_view_select->setHidden();
$sform->addElement($part_view_select);*/
$_POST['full_view'] = array(0 => 1, 1 => 2, 2 => 3);
$_POST['part_view'] = array(0 => 1, 1 => 2, 2 => 3);
$smartsection_item_handler =& smartsection_gethandler('item');
$parameters = $plugins->fireFilter(oledrion_plugins::EVENT_ON_PRODUCT_DOWNLOAD, $parameters);
$parameters[] = $plugins->fireFilter(oledrion_plugins::EVENT_ON_PRODUCT_DOWNLOAD, $parameters);