Most likely there is another plugin that uses the same recordset name or variable named $rsProdType so that the recordset is already closed by the time you get to this point. You can probably remove that line without any detrimental effect.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.