CreateInputTextWithLabel outputs htmlentities

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
cosmicfrog
New Member
New Member
Posts: 7
Joined: Mon May 21, 2012 4:22 pm

CreateInputTextWithLabel outputs htmlentities

Post by cosmicfrog »

Hello i´m using CMS Made Simple version 1.10.3.

I made an admin form to edit a record. When the text entered in the InputText has "!" it is converted to "!"
But if instead of CreateInputTextWithLabel i use CreateInputText everything goes as expected.

Searching the API code i found that CreateInputTextWithLabel calls CreateInputText, so doubling the cms_htmlentities($variable) call.
Shouldn't it be called only once?
Post Reply

Return to “CMSMS Core”