Detailed Description:
action.defualt.php
$category_id = cge_utils::get_param($params,'category');
doesn't return the id but the name of the category
in result the action.link.php
// get the details about this banner
$query = "SELECT * FROM ".cms_db_prefix()."module_banners WHERE category_id = ?
AND banner_id = ?";
$dbresult = $db->Execute( $query, array( $params['category_id'],
$params['banner_id'] ) );
if( !$dbresult ) {
$this->_DisplayErrorPage ($id, $params, $returnid, $this->Lang
('error_dberror'));
return;
}
$banner = $dbresult->FetchRow();
if( !$banner ) {
$this->_DisplayErrorPage ($id, $params, $returnid, $this->Lang
('error_dberror'));
return;
}
return error